Class ArrowFlightJdbcIntervalVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcIntervalVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Arrow type
IntervalDayVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcIntervalVectorAccessor
(IntervalDayVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalDayVector
.ArrowFlightJdbcIntervalVectorAccessor
(IntervalMonthDayNanoVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalMonthDayNanoVector
.ArrowFlightJdbcIntervalVectorAccessor
(IntervalYearVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalYearVector
. -
Method Summary
Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCurrentRow, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getShort, getSQLXML, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
-
Constructor Details
-
ArrowFlightJdbcIntervalVectorAccessor
public ArrowFlightJdbcIntervalVectorAccessor(IntervalDayVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalDayVector
.- Parameters:
vector
- an instance of a IntervalDayVector.currentRowSupplier
- the supplier to track the rows.setCursorWasNull
- the consumer to set if value was null.
-
ArrowFlightJdbcIntervalVectorAccessor
public ArrowFlightJdbcIntervalVectorAccessor(IntervalYearVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalYearVector
.- Parameters:
vector
- an instance of a IntervalYearVector.currentRowSupplier
- the supplier to track the rows.setCursorWasNull
- the consumer to set if value was null.
-
ArrowFlightJdbcIntervalVectorAccessor
public ArrowFlightJdbcIntervalVectorAccessor(IntervalMonthDayNanoVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate an accessor for aIntervalMonthDayNanoVector
.- Parameters:
vector
- an instance of a IntervalMonthDayNanoVector.currentRowSupplier
- the supplier to track the rows.setCursorWasNull
- the consumer to set if value was null.
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
in classArrowFlightJdbcAccessor
-
getString
- Specified by:
getString
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getString
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-