public class DateVectorAccessor extends QueryJDBCAccessor
wasNull, wasNullConsumer| Constructor and Description |
|---|
DateVectorAccessor(org.apache.arrow.vector.DateDayVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
DateVectorAccessor(org.apache.arrow.vector.DateMilliVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate(Calendar calendar) |
Object |
getObject() |
Class<?> |
getObjectClass() |
String |
getString() |
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, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getShort, getSQLXML, getStruct, getTime, getUnicodeStream, getURL, wasNullpublic DateVectorAccessor(org.apache.arrow.vector.DateDayVector vector,
IntSupplier currentRowSupplier,
QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
throws SQLException
SQLExceptionpublic DateVectorAccessor(org.apache.arrow.vector.DateMilliVector 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 Timestamp getTimestamp(Calendar calendar)
getTimestamp in interface org.apache.calcite.avatica.util.Cursor.AccessorgetTimestamp in class QueryJDBCAccessorcalendar - Calendar passed in. Ignores the calendarpublic Date getDate(Calendar calendar)
getDate in interface org.apache.calcite.avatica.util.Cursor.AccessorgetDate 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.