Class BaseIntVectorAccessor
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.core.accessor.QueryJDBCAccessor
-
- com.salesforce.datacloud.jdbc.core.accessor.impl.BaseIntVectorAccessor
-
- All Implemented Interfaces:
org.apache.calcite.avatica.util.Cursor.Accessor
public class BaseIntVectorAccessor extends QueryJDBCAccessor
-
-
Field Summary
-
Fields inherited from class com.salesforce.datacloud.jdbc.core.accessor.QueryJDBCAccessor
wasNull, wasNullConsumer
-
-
Constructor Summary
Constructors Constructor Description BaseIntVectorAccessor(org.apache.arrow.vector.BigIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)BaseIntVectorAccessor(org.apache.arrow.vector.IntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)BaseIntVectorAccessor(org.apache.arrow.vector.SmallIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)BaseIntVectorAccessor(org.apache.arrow.vector.TinyIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)BaseIntVectorAccessor(org.apache.arrow.vector.UInt4Vector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetBigDecimal()BigDecimalgetBigDecimal(int scale)bytegetByte()doublegetDouble()floatgetFloat()intgetInt()longgetLong()NumbergetObject()Class<?>getObjectClass()shortgetShort()StringgetString()-
Methods inherited from class com.salesforce.datacloud.jdbc.core.accessor.QueryJDBCAccessor
getArray, getAsciiStream, getBinaryStream, getBlob, getBoolean, getBytes, getCharacterStream, getClob, getCurrentRow, getDate, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
-
-
-
-
Constructor Detail
-
BaseIntVectorAccessor
public BaseIntVectorAccessor(org.apache.arrow.vector.TinyIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) throws SQLException- Throws:
SQLException
-
BaseIntVectorAccessor
public BaseIntVectorAccessor(org.apache.arrow.vector.SmallIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) throws SQLException- Throws:
SQLException
-
BaseIntVectorAccessor
public BaseIntVectorAccessor(org.apache.arrow.vector.IntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) throws SQLException- Throws:
SQLException
-
BaseIntVectorAccessor
public BaseIntVectorAccessor(org.apache.arrow.vector.BigIntVector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) throws SQLException- Throws:
SQLException
-
BaseIntVectorAccessor
public BaseIntVectorAccessor(org.apache.arrow.vector.UInt4Vector vector, IntSupplier currentRowSupplier, QueryJDBCAccessorFactory.WasNullConsumer setCursorWasNull) throws SQLException- Throws:
SQLException
-
-
Method Detail
-
getLong
public long getLong()
- Specified by:
getLongin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getLongin classQueryJDBCAccessor
-
getObjectClass
public Class<?> getObjectClass()
- Specified by:
getObjectClassin classQueryJDBCAccessor
-
getString
public String getString()
- Specified by:
getStringin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getStringin classQueryJDBCAccessor
-
getByte
public byte getByte()
- Specified by:
getBytein interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getBytein classQueryJDBCAccessor
-
getShort
public short getShort()
- Specified by:
getShortin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getShortin classQueryJDBCAccessor
-
getInt
public int getInt()
- Specified by:
getIntin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getIntin classQueryJDBCAccessor
-
getFloat
public float getFloat()
- Specified by:
getFloatin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getFloatin classQueryJDBCAccessor
-
getDouble
public double getDouble()
- Specified by:
getDoublein interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getDoublein classQueryJDBCAccessor
-
getBigDecimal
public BigDecimal getBigDecimal()
- Specified by:
getBigDecimalin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getBigDecimalin classQueryJDBCAccessor
-
getBigDecimal
public BigDecimal getBigDecimal(int scale)
- Specified by:
getBigDecimalin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getBigDecimalin classQueryJDBCAccessor
-
getObject
public Number getObject() throws SQLException
- Specified by:
getObjectin interfaceorg.apache.calcite.avatica.util.Cursor.Accessor- Overrides:
getObjectin classQueryJDBCAccessor- Throws:
SQLException
-
-