Interface GenericArrowVectorAccessorFactory.ArrayFactory<ChildVectorT,ArrayT>
- Type Parameters:
ChildVectorT- A concrete type that can represent a child vector in a struct, e.g. Spark's ArrowColumnVector.ArrayT- A concrete type that can represent an array value in a list vector, e.g. Spark's ColumnarArray.
- 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 typeChildVectorTfrom the arrow child vector.ofRow(org.apache.arrow.vector.ValueVector vector, ChildVectorT childData, int rowId) Create an Arrow of typeArrayTfrom the row value in the arrow child vector.
-
Method Details
-
ofChild
Create a child vector of typeChildVectorTfrom the arrow child vector. -
ofRow
Create an Arrow of typeArrayTfrom the row value in the arrow child vector.
-