Class ArrowFlightJdbcTimeStampVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcTimeStampVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Arrow types extending from
TimeStampVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcTimeStampVectorAccessor
(TimeStampVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate a ArrowFlightJdbcTimeStampVectorAccessor for given vector. -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcTimeStampVectorAccessor.LongToLocalDateTime
getLongToLocalDateTimeForVector
(TimeStampVector vector, TimeZone timeZone) Class<?>
getTimestamp
(Calendar calendar) protected static TimeUnit
getTimeUnitForVector
(TimeStampVector vector) protected static TimeZone
getTimeZoneForVector
(TimeStampVector vector) Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCurrentRow, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getShort, getSQLXML, getString, getStruct, getUnicodeStream, getURL, wasNull
-
Constructor Details
-
ArrowFlightJdbcTimeStampVectorAccessor
public ArrowFlightJdbcTimeStampVectorAccessor(TimeStampVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate a ArrowFlightJdbcTimeStampVectorAccessor for given vector.
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
in classArrowFlightJdbcAccessor
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-
getDate
- Specified by:
getDate
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getDate
in classArrowFlightJdbcAccessor
-
getTime
- Specified by:
getTime
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getTime
in classArrowFlightJdbcAccessor
-
getTimestamp
- Specified by:
getTimestamp
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getTimestamp
in classArrowFlightJdbcAccessor
-
getTimeUnitForVector
-
getLongToLocalDateTimeForVector
protected static org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcTimeStampVectorAccessor.LongToLocalDateTime getLongToLocalDateTimeForVector(TimeStampVector vector, TimeZone timeZone) -
getTimeZoneForVector
-