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 Type
    Method
    Description
    ofChild(org.apache.arrow.vector.ValueVector childVector)
    Create a child vector of type ChildVectorT from the arrow child vector.
    ofRow(org.apache.arrow.vector.ValueVector vector, ChildVectorT childData, int rowId)
    Create an Arrow of type ArrayT from the row value in the arrow child vector.
  • Method Details

    • ofChild

      ChildVectorT ofChild(org.apache.arrow.vector.ValueVector childVector)
      Create a child vector of type ChildVectorT from the arrow child vector.
    • ofRow

      ArrayT ofRow(org.apache.arrow.vector.ValueVector vector, ChildVectorT childData, int rowId)
      Create an Arrow of type ArrayT from the row value in the arrow child vector.