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 AutoCloseable>
protected static interface GenericArrowVectorAccessorFactory.ArrayFactory<ChildVectorT,ArrayT>
Create an array value of type
ArrayT
from arrow vector value.-
Method Summary
Modifier and TypeMethodDescriptionofChild
(org.apache.arrow.vector.ValueVector childVector) Create a child vector of typeChildVectorT
from the arrow child vector.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 Details
-
ofChild
Create a child vector of typeChildVectorT
from the arrow child vector. -
ofRow
Create an Arrow of typeArrayT
from the row value in the arrow child vector.
-