public class ArrowVectorAccessor<DecimalT,Utf8StringT,ArrayT,ChildVectorT extends java.lang.AutoCloseable>
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier | Constructor and Description |
---|---|
protected |
ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector) |
protected |
ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector,
ChildVectorT[] children) |
Modifier and Type | Method and Description |
---|---|
ChildVectorT |
childColumn(int pos) |
void |
close() |
ArrayT |
getArray(int rowId) |
byte[] |
getBinary(int rowId) |
boolean |
getBoolean(int rowId) |
DecimalT |
getDecimal(int rowId,
int precision,
int scale) |
double |
getDouble(int rowId) |
float |
getFloat(int rowId) |
int |
getInt(int rowId) |
long |
getLong(int rowId) |
Utf8StringT |
getUTF8String(int rowId) |
org.apache.arrow.vector.ValueVector |
getVector() |
protected ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector)
protected ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector, ChildVectorT[] children)
public void close()
close
in interface java.lang.AutoCloseable
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 byte[] getBinary(int rowId)
public DecimalT getDecimal(int rowId, int precision, int scale)
public Utf8StringT getUTF8String(int rowId)
public ArrayT getArray(int rowId)
public ChildVectorT childColumn(int pos)
public final org.apache.arrow.vector.ValueVector getVector()