Class ArrowFlightJdbcDecimalVectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.numeric.ArrowFlightJdbcDecimalVectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for
DecimalVector
and Decimal256Vector
.-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcDecimalVectorAccessor
(Decimal256Vector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) ArrowFlightJdbcDecimalVectorAccessor
(DecimalVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
Method Summary
Methods inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
getArray, getAsciiStream, getBinaryStream, getBlob, getBytes, getCharacterStream, getClob, getCurrentRow, getDate, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
-
Constructor Details
-
ArrowFlightJdbcDecimalVectorAccessor
public ArrowFlightJdbcDecimalVectorAccessor(DecimalVector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) -
ArrowFlightJdbcDecimalVectorAccessor
public ArrowFlightJdbcDecimalVectorAccessor(Decimal256Vector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
in classArrowFlightJdbcAccessor
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBigDecimal
in classArrowFlightJdbcAccessor
-
getString
- Specified by:
getString
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getString
in classArrowFlightJdbcAccessor
-
getBoolean
public boolean getBoolean()- Specified by:
getBoolean
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBoolean
in classArrowFlightJdbcAccessor
-
getByte
public byte getByte()- Specified by:
getByte
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getByte
in classArrowFlightJdbcAccessor
-
getShort
public short getShort()- Specified by:
getShort
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getShort
in classArrowFlightJdbcAccessor
-
getInt
public int getInt()- Specified by:
getInt
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getInt
in classArrowFlightJdbcAccessor
-
getLong
public long getLong()- Specified by:
getLong
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getLong
in classArrowFlightJdbcAccessor
-
getFloat
public float getFloat()- Specified by:
getFloat
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getFloat
in classArrowFlightJdbcAccessor
-
getDouble
public double getDouble()- Specified by:
getDouble
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getDouble
in classArrowFlightJdbcAccessor
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBigDecimal
in classArrowFlightJdbcAccessor
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-