Class ArrowFlightJdbcAccessorFactory
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessorFactory
Factory to instantiate the accessors.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Functional interface used to propagate that the value accessed was null or not. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArrowFlightJdbcAccessor
createAccessor
(ValueVector vector, IntSupplier getCurrentRow, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Create an accessor according to its type.
-
Constructor Details
-
ArrowFlightJdbcAccessorFactory
public ArrowFlightJdbcAccessorFactory()
-
-
Method Details
-
createAccessor
public static ArrowFlightJdbcAccessor createAccessor(ValueVector vector, IntSupplier getCurrentRow, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Create an accessor according to its type.- Parameters:
vector
- an instance of an arrow vector.getCurrentRow
- a supplier to check which row is being accessed.- Returns:
- an instance of one of the accessors.
-