public class ArrowFlightJdbcTimeStampVectorAccessor extends ArrowFlightJdbcAccessor
TimeStampVector
.wasNull, wasNullConsumer
Constructor and Description |
---|
ArrowFlightJdbcTimeStampVectorAccessor(TimeStampVector vector,
IntSupplier currentRowSupplier,
ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
Instantiate a ArrowFlightJdbcTimeStampVectorAccessor for given vector.
|
Modifier and Type | Method and Description |
---|---|
Date |
getDate(Calendar calendar) |
protected static org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcTimeStampVectorAccessor.LongToLocalDateTime |
getLongToLocalDateTimeForVector(TimeStampVector vector,
TimeZone timeZone) |
Object |
getObject() |
Class<?> |
getObjectClass() |
Time |
getTime(Calendar calendar) |
Timestamp |
getTimestamp(Calendar calendar) |
protected static TimeUnit |
getTimeUnitForVector(TimeStampVector vector) |
protected static TimeZone |
getTimeZoneForVector(TimeStampVector vector) |
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
public ArrowFlightJdbcTimeStampVectorAccessor(TimeStampVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
public Class<?> getObjectClass()
getObjectClass
in class ArrowFlightJdbcAccessor
public Object getObject()
getObject
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getObject
in class ArrowFlightJdbcAccessor
public Date getDate(Calendar calendar)
getDate
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getDate
in class ArrowFlightJdbcAccessor
public Time getTime(Calendar calendar)
getTime
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getTime
in class ArrowFlightJdbcAccessor
public Timestamp getTimestamp(Calendar calendar)
getTimestamp
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getTimestamp
in class ArrowFlightJdbcAccessor
protected static TimeUnit getTimeUnitForVector(TimeStampVector vector)
protected static org.apache.arrow.driver.jdbc.accessor.impl.calendar.ArrowFlightJdbcTimeStampVectorAccessor.LongToLocalDateTime getLongToLocalDateTimeForVector(TimeStampVector vector, TimeZone timeZone)
protected static TimeZone getTimeZoneForVector(TimeStampVector vector)
Copyright © 2023 The Apache Software Foundation. All rights reserved.