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 type ArrayT 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 type ChildVectorT from the arrow child vector.
      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.
    • Method Detail

      • 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.