public class ColumnVector
extends java.lang.Object
implements java.lang.AutoCloseable
ColumnVector.
This class represents the column data for an Iceberg table query.
It wraps an arrow FieldVector and provides simple
accessors for the row values. Advanced users can access
the FieldVector.
Supported Iceberg data types:
Types.BooleanTypeTypes.IntegerTypeTypes.LongTypeTypes.FloatTypeTypes.DoubleTypeTypes.StringTypeTypes.BinaryTypeTypes.TimestampType (with and without timezone)Types.DateTypeTypes.TimeTypeTypes.UUIDType| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
getBinary(int rowId) |
boolean |
getBoolean(int rowId) |
double |
getDouble(int rowId) |
org.apache.arrow.vector.FieldVector |
getFieldVector() |
float |
getFloat(int rowId) |
int |
getInt(int rowId) |
long |
getLong(int rowId) |
java.lang.String |
getString(int rowId) |
boolean |
hasNull() |
boolean |
isNullAt(int rowId) |
int |
numNulls() |
public org.apache.arrow.vector.FieldVector getFieldVector()
public boolean hasNull()
public int numNulls()
public void close()
close in interface java.lang.AutoCloseablepublic boolean isNullAt(int rowId)
public boolean getBoolean(int rowId)
public int getInt(int rowId)
public long getLong(int rowId)
public float getFloat(int rowId)
public double getDouble(int rowId)
public java.lang.String getString(int rowId)
public byte[] getBinary(int rowId)