Class ArrowVectorAccessor<DecimalT,Utf8StringT,ArrayT,ChildVectorT extends java.lang.AutoCloseable>
- java.lang.Object
-
- org.apache.iceberg.arrow.vectorized.ArrowVectorAccessor<DecimalT,Utf8StringT,ArrayT,ChildVectorT>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ArrowVectorAccessor<DecimalT,Utf8StringT,ArrayT,ChildVectorT extends java.lang.AutoCloseable> extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector)
protected
ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector, ChildVectorT[] children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
ArrowVectorAccessor
protected ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector)
-
ArrowVectorAccessor
protected ArrowVectorAccessor(org.apache.arrow.vector.ValueVector vector, ChildVectorT[] children)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
getBoolean
public boolean getBoolean(int rowId)
-
getInt
public int getInt(int rowId)
-
getLong
public long getLong(int rowId)
-
getFloat
public float getFloat(int rowId)
-
getDouble
public double getDouble(int rowId)
-
getBinary
public byte[] getBinary(int rowId)
-
getDecimal
public DecimalT getDecimal(int rowId, int precision, int scale)
-
getUTF8String
public Utf8StringT getUTF8String(int rowId)
-
getArray
public ArrayT getArray(int rowId)
-
childColumn
public ChildVectorT childColumn(int pos)
-
getVector
public final org.apache.arrow.vector.ValueVector getVector()
-
-