Class ArrowFlightJdbcDenseUnionVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.complex.AbstractArrowFlightJdbcUnionVectorAccessor
org.apache.arrow.driver.jdbc.accessor.impl.complex.ArrowFlightJdbcDenseUnionVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
public class ArrowFlightJdbcDenseUnionVectorAccessor
extends AbstractArrowFlightJdbcUnionVectorAccessor
Accessor for the Arrow type
DenseUnionVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcDenseUnionVectorAccessor
(DenseUnionVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aDenseUnionVector
. -
Method Summary
Modifier and TypeMethodDescriptionprotected ArrowFlightJdbcAccessor
createAccessorForVector
(ValueVector vector) protected byte
protected ValueVector
getVectorByTypeId
(byte typeId) Methods inherited from class org.apache.arrow.driver.jdbc.accessor.impl.complex.AbstractArrowFlightJdbcUnionVectorAccessor
getAccessor, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getObject, getObjectClass, getRef, getShort, getSQLXML, getString, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getCurrentRow
-
Constructor Details
-
ArrowFlightJdbcDenseUnionVectorAccessor
public ArrowFlightJdbcDenseUnionVectorAccessor(DenseUnionVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aDenseUnionVector
.- Parameters:
vector
- an instance of a DenseUnionVector.currentRowSupplier
- the supplier to track the rows.setCursorWasNull
- the consumer to set if value was null.
-
-
Method Details
-
createAccessorForVector
- Specified by:
createAccessorForVector
in classAbstractArrowFlightJdbcUnionVectorAccessor
-
getCurrentTypeId
protected byte getCurrentTypeId()- Specified by:
getCurrentTypeId
in classAbstractArrowFlightJdbcUnionVectorAccessor
-
getVectorByTypeId
- Specified by:
getVectorByTypeId
in classAbstractArrowFlightJdbcUnionVectorAccessor
-