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