Interface GenericArrowVectorAccessorFactory.StringFactory<Utf8StringT>

  • Type Parameters:
    Utf8StringT - A concrete type that can represent a UTF8 string.
    Enclosing class:
    GenericArrowVectorAccessorFactory<DecimalT,​Utf8StringT,​ArrayT,​ChildVectorT extends java.lang.AutoCloseable>

    protected static interface GenericArrowVectorAccessorFactory.StringFactory<Utf8StringT>
    Create a UTF8 String value of type Utf8StringT from arrow vector value.
    • Method Detail

      • getGenericClass

        java.lang.Class<Utf8StringT> getGenericClass()
        Class of concrete UTF8 String type.
      • ofRow

        Utf8StringT ofRow​(org.apache.arrow.vector.VarCharVector vector,
                          int rowId)
        Create a UTF8 String from the row value in the arrow vector.
      • ofBytes

        Utf8StringT ofBytes​(byte[] bytes)
        Create a UTF8 String from the byte array.