public class ArrowFlightJdbcFloat8VectorAccessor extends ArrowFlightJdbcAccessor
wasNull, wasNullConsumer
Constructor and Description |
---|
ArrowFlightJdbcFloat8VectorAccessor(Float8Vector vector,
IntSupplier currentRowSupplier,
ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
Instantiate a accessor for the
Float8Vector . |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getBigDecimal() |
BigDecimal |
getBigDecimal(int scale) |
boolean |
getBoolean() |
byte |
getByte() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
Object |
getObject() |
Class<?> |
getObjectClass() |
short |
getShort() |
String |
getString() |
getArray, getAsciiStream, getBinaryStream, getBlob, getBytes, getCharacterStream, getClob, getCurrentRow, getDate, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
public ArrowFlightJdbcFloat8VectorAccessor(Float8Vector vector, IntSupplier currentRowSupplier, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull)
Float8Vector
.vector
- an instance of a Float8Vector.currentRowSupplier
- the supplier to track the lines.setCursorWasNull
- the consumer to set if value was null.public Class<?> getObjectClass()
getObjectClass
in class ArrowFlightJdbcAccessor
public double getDouble()
getDouble
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getDouble
in class ArrowFlightJdbcAccessor
public Object getObject()
getObject
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getObject
in class ArrowFlightJdbcAccessor
public String getString()
getString
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getString
in class ArrowFlightJdbcAccessor
public boolean getBoolean()
getBoolean
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getBoolean
in class ArrowFlightJdbcAccessor
public byte getByte()
getByte
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getByte
in class ArrowFlightJdbcAccessor
public short getShort()
getShort
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getShort
in class ArrowFlightJdbcAccessor
public int getInt()
getInt
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getInt
in class ArrowFlightJdbcAccessor
public long getLong()
getLong
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getLong
in class ArrowFlightJdbcAccessor
public float getFloat()
getFloat
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getFloat
in class ArrowFlightJdbcAccessor
public BigDecimal getBigDecimal() throws SQLException
getBigDecimal
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getBigDecimal
in class ArrowFlightJdbcAccessor
SQLException
public BigDecimal getBigDecimal(int scale) throws SQLException
getBigDecimal
in interface org.apache.calcite.avatica.util.Cursor.Accessor
getBigDecimal
in class ArrowFlightJdbcAccessor
SQLException
Copyright © 2023 The Apache Software Foundation. All rights reserved.