Interface GenericArrowVectorAccessorFactory.ArrayFactory<ChildVectorT,ArrayT>
-
- Type Parameters:
ArrayT
- A concrete type that can represent an array value in a list vector, e.g. Spark's ColumnarArray.ChildVectorT
- A concrete type that can represent a child vector in a struct, e.g. Spark's ArrowColumnVector.
- Enclosing class:
- GenericArrowVectorAccessorFactory<DecimalT,Utf8StringT,ArrayT,ChildVectorT extends java.lang.AutoCloseable>
protected static interface GenericArrowVectorAccessorFactory.ArrayFactory<ChildVectorT,ArrayT>
Create an array value of typeArrayT
from arrow vector value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChildVectorT
ofChild(org.apache.arrow.vector.ValueVector childVector)
Create a child vector of typeChildVectorT
from the arrow child vector.ArrayT
ofRow(org.apache.arrow.vector.ValueVector vector, ChildVectorT childData, int rowId)
Create an Arrow of typeArrayT
from the row value in the arrow child vector.
-
-
-
Method Detail
-
ofChild
ChildVectorT ofChild(org.apache.arrow.vector.ValueVector childVector)
Create a child vector of typeChildVectorT
from the arrow child vector.
-
ofRow
ArrayT ofRow(org.apache.arrow.vector.ValueVector vector, ChildVectorT childData, int rowId)
Create an Arrow of typeArrayT
from the row value in the arrow child vector.
-
-