Class ArrowFlightJdbcAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
- Direct Known Subclasses:
AbstractArrowFlightJdbcListVectorAccessor
,AbstractArrowFlightJdbcUnionVectorAccessor
,ArrowFlightJdbcBaseIntVectorAccessor
,ArrowFlightJdbcBinaryVectorAccessor
,ArrowFlightJdbcBitVectorAccessor
,ArrowFlightJdbcDateVectorAccessor
,ArrowFlightJdbcDecimalVectorAccessor
,ArrowFlightJdbcDurationVectorAccessor
,ArrowFlightJdbcFloat4VectorAccessor
,ArrowFlightJdbcFloat8VectorAccessor
,ArrowFlightJdbcIntervalVectorAccessor
,ArrowFlightJdbcNullVectorAccessor
,ArrowFlightJdbcStructVectorAccessor
,ArrowFlightJdbcTimeStampVectorAccessor
,ArrowFlightJdbcTimeVectorAccessor
,ArrowFlightJdbcVarCharVectorAccessor
public abstract class ArrowFlightJdbcAccessor
extends Object
implements org.apache.calcite.avatica.util.Cursor.Accessor
Base Jdbc Accessor.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
-
Constructor Summary
ModifierConstructorDescriptionprotected
ArrowFlightJdbcAccessor
(IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer wasNullConsumer) -
Method Summary
Modifier and TypeMethodDescriptiongetArray()
getBigDecimal
(int i) getBlob()
boolean
byte
getByte()
byte[]
getBytes()
getClob()
protected int
double
float
getFloat()
int
getInt()
long
getLong()
getNClob()
<T> T
abstract Class<?>
getRef()
short
getShort()
getTimestamp
(Calendar calendar) getURL()
boolean
wasNull()
-
Field Details
-
wasNull
protected boolean wasNull -
wasNullConsumer
-
-
Constructor Details
-
ArrowFlightJdbcAccessor
protected ArrowFlightJdbcAccessor(IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer wasNullConsumer)
-
-
Method Details
-
getCurrentRow
protected int getCurrentRow() -
getObjectClass
-
wasNull
public boolean wasNull()- Specified by:
wasNull
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
-
getString
- Specified by:
getString
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getStruct
- Specified by:
getStruct
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Throws:
SQLException
-