Class ArrowFlightJdbcMapVectorAccessor
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.ArrowFlightJdbcMapVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Arrow type
MapVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcMapVectorAccessor
(MapVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldVector
protected long
getEndOffset
(int index) Class<?>
protected long
getStartOffset
(int index) protected boolean
isNull
(int index) Methods inherited from class org.apache.arrow.driver.jdbc.accessor.impl.complex.AbstractArrowFlightJdbcListVectorAccessor
getArray
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
-
ArrowFlightJdbcMapVectorAccessor
public ArrowFlightJdbcMapVectorAccessor(MapVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
-
-
Method Details
-
getObjectClass
- Overrides:
getObjectClass
in classAbstractArrowFlightJdbcListVectorAccessor
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-
getStartOffset
protected long getStartOffset(int index) - Specified by:
getStartOffset
in classAbstractArrowFlightJdbcListVectorAccessor
-
getEndOffset
protected long getEndOffset(int index) - Specified by:
getEndOffset
in classAbstractArrowFlightJdbcListVectorAccessor
-
isNull
protected boolean isNull(int index) - Specified by:
isNull
in classAbstractArrowFlightJdbcListVectorAccessor
-
getDataVector
- Specified by:
getDataVector
in classAbstractArrowFlightJdbcListVectorAccessor
-