public class ArrowFlightJdbcDenseUnionVectorAccessor extends AbstractArrowFlightJdbcUnionVectorAccessor
DenseUnionVector
.wasNull, wasNullConsumer
Constructor and Description |
---|
ArrowFlightJdbcDenseUnionVectorAccessor(DenseUnionVector vector,
IntSupplier currentRowSupplier,
ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
Instantiate an accessor for a
DenseUnionVector . |
Modifier and Type | Method and Description |
---|---|
protected ArrowFlightJdbcAccessor |
createAccessorForVector(ValueVector vector) |
protected byte |
getCurrentTypeId() |
protected ValueVector |
getVectorByTypeId(byte typeId) |
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
getCurrentRow
public ArrowFlightJdbcDenseUnionVectorAccessor(DenseUnionVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
DenseUnionVector
.vector
- an instance of a DenseUnionVector.currentRowSupplier
- the supplier to track the rows.setCursorWasNull
- the consumer to set if value was null.protected ArrowFlightJdbcAccessor createAccessorForVector(ValueVector vector)
createAccessorForVector
in class AbstractArrowFlightJdbcUnionVectorAccessor
protected byte getCurrentTypeId()
getCurrentTypeId
in class AbstractArrowFlightJdbcUnionVectorAccessor
protected ValueVector getVectorByTypeId(byte typeId)
getVectorByTypeId
in class AbstractArrowFlightJdbcUnionVectorAccessor
Copyright © 2023 The Apache Software Foundation. All rights reserved.