public class ArrowFlightJdbcAccessorFactory extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ArrowFlightJdbcAccessorFactory.WasNullConsumer
Functional interface used to propagate that the value accessed was null or not.
|
Constructor and Description |
---|
ArrowFlightJdbcAccessorFactory() |
Modifier and Type | Method and Description |
---|---|
static ArrowFlightJdbcAccessor |
createAccessor(ValueVector vector,
IntSupplier getCurrentRow,
ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
Create an accessor according to its type.
|
public static ArrowFlightJdbcAccessor createAccessor(ValueVector vector, IntSupplier getCurrentRow, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
vector
- an instance of an arrow vector.getCurrentRow
- a supplier to check which row is being accessed.Copyright © 2023 The Apache Software Foundation. All rights reserved.