public class TimeVectorAccessor extends QueryJDBCAccessor
wasNull, wasNullConsumer| Constructor and Description |
|---|
TimeVectorAccessor(org.apache.arrow.vector.TimeMicroVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
TimeVectorAccessor(org.apache.arrow.vector.TimeMilliVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
TimeVectorAccessor(org.apache.arrow.vector.TimeNanoVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
TimeVectorAccessor(org.apache.arrow.vector.TimeSecVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject() |
Class<?> |
getObjectClass() |
String |
getString() |
Time |
getTime(Calendar calendar) |
Timestamp |
getTimestamp(Calendar calendar) |
protected static TimeUnit |
getTimeUnitForVector(org.apache.arrow.vector.ValueVector vector) |
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, getUnicodeStream, getURL, wasNullpublic TimeVectorAccessor(org.apache.arrow.vector.TimeNanoVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
throws SQLException
SQLExceptionpublic TimeVectorAccessor(org.apache.arrow.vector.TimeMicroVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
throws SQLException
SQLExceptionpublic TimeVectorAccessor(org.apache.arrow.vector.TimeMilliVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
throws SQLException
SQLExceptionpublic TimeVectorAccessor(org.apache.arrow.vector.TimeSecVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
throws SQLException
SQLExceptionpublic Class<?> getObjectClass()
getObjectClass in class QueryJDBCAccessorpublic Object getObject()
getObject in interface org.apache.calcite.avatica.util.Cursor.AccessorgetObject in class QueryJDBCAccessorpublic Time getTime(Calendar calendar)
getTime in interface org.apache.calcite.avatica.util.Cursor.AccessorgetTime in class QueryJDBCAccessorcalendar - Calendar passed in. Ignores the calendarpublic Timestamp getTimestamp(Calendar calendar)
getTimestamp in interface org.apache.calcite.avatica.util.Cursor.AccessorgetTimestamp in class QueryJDBCAccessorcalendar - Calendar passed in. Ignores the calendarpublic String getString()
getString in interface org.apache.calcite.avatica.util.Cursor.AccessorgetString in class QueryJDBCAccessorprotected static TimeUnit getTimeUnitForVector(org.apache.arrow.vector.ValueVector vector) throws SQLException
SQLExceptionCopyright © 2025. All rights reserved.