Class ArrowFlightJdbcVarCharVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.text.ArrowFlightJdbcVarCharVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Arrow types:
VarCharVector
and LargeVarCharVector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcVarCharVectorAccessor
(LargeVarCharVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) ArrowFlightJdbcVarCharVectorAccessor
(VarCharVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
Method Summary
Modifier and TypeMethodDescriptiongetBigDecimal
(int i) boolean
byte
getByte()
byte[]
getBytes()
double
float
getFloat()
int
getInt()
long
getLong()
Class<?>
short
getShort()
getTimestamp
(Calendar calendar) Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getArray, getBinaryStream, getBlob, getClob, getCurrentRow, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getURL, wasNull
-
Constructor Details
-
ArrowFlightJdbcVarCharVectorAccessor
public ArrowFlightJdbcVarCharVectorAccessor(VarCharVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
ArrowFlightJdbcVarCharVectorAccessor
public ArrowFlightJdbcVarCharVectorAccessor(LargeVarCharVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
in classArrowFlightJdbcAccessor
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-
getString
- Specified by:
getString
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getString
in classArrowFlightJdbcAccessor
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBytes
in classArrowFlightJdbcAccessor
-
getBoolean
- Specified by:
getBoolean
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBoolean
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getByte
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getShort
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getInt
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getLong
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getFloat
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getDouble
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBigDecimal
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBigDecimal
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getAsciiStream
in classArrowFlightJdbcAccessor
-
getUnicodeStream
- Specified by:
getUnicodeStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getUnicodeStream
in classArrowFlightJdbcAccessor
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getCharacterStream
in classArrowFlightJdbcAccessor
-
getDate
- Specified by:
getDate
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getDate
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getTime
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getTimestamp
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-