Class ArrowFlightJdbcListVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.complex.AbstractArrowFlightJdbcListVectorAccessor
org.apache.arrow.driver.jdbc.accessor.impl.complex.ArrowFlightJdbcListVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Arrow type
ListVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcListVectorAccessor
(ListVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldVector
protected long
getEndOffset
(int index) protected long
getStartOffset
(int index) protected boolean
isNull
(int index) Methods inherited from class org.apache.arrow.driver.jdbc.accessor.impl.complex.AbstractArrowFlightJdbcListVectorAccessor
getArray, getObjectClass
Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCurrentRow, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getShort, getSQLXML, getString, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
-
Constructor Details
-
ArrowFlightJdbcListVectorAccessor
public ArrowFlightJdbcListVectorAccessor(ListVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
-
-
Method Details
-
getStartOffset
protected long getStartOffset(int index) - Specified by:
getStartOffset
in classAbstractArrowFlightJdbcListVectorAccessor
-
getEndOffset
protected long getEndOffset(int index) - Specified by:
getEndOffset
in classAbstractArrowFlightJdbcListVectorAccessor
-
getDataVector
- Specified by:
getDataVector
in classAbstractArrowFlightJdbcListVectorAccessor
-
isNull
protected boolean isNull(int index) - Specified by:
isNull
in classAbstractArrowFlightJdbcListVectorAccessor
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-