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.BooleanType
Types.IntegerType
Types.LongType
Types.FloatType
Types.DoubleType
Types.StringType
Types.BinaryType
Types.TimestampType
(with and without timezone)Types.DateType
Types.TimeType
Types.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.AutoCloseable
public 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)