Class ArrowFlightJdbcFloat4VectorAccessor
java.lang.Object
org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
org.apache.arrow.driver.jdbc.accessor.impl.numeric.ArrowFlightJdbcFloat4VectorAccessor
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
Accessor for the Float4Vector.
-
Field Summary
Fields inherited from class org.apache.arrow.driver.jdbc.accessor.ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcFloat4VectorAccessor
(Float4Vector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate a accessor for theFloat4Vector
. -
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
-
ArrowFlightJdbcFloat4VectorAccessor
public ArrowFlightJdbcFloat4VectorAccessor(Float4Vector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Instantiate a accessor for theFloat4Vector
.- Parameters:
vector
- an instance of a Float4Vector.currentRowSupplier
- the supplier to track the lines.setCursorWasNull
- the consumer to set if value was null.
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClass
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
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getBigDecimal
in classArrowFlightJdbcAccessor
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceorg.apache.calcite.avatica.util.Cursor.Accessor
- Overrides:
getObject
in classArrowFlightJdbcAccessor
-