Interface GenericArrowVectorAccessorFactory.StringFactory<Utf8StringT>

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

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

    Modifier and Type
    Method
    Description
    Class of concrete UTF8 String type.
    Create a UTF8 String from the byte buffer.
    ofBytes(byte[] bytes)
    Create a UTF8 String from the byte array.
    default Utf8StringT
    ofRow(org.apache.arrow.vector.FixedSizeBinaryVector vector, int rowId)
    Create a UTF8 String from the row value in the FixedSizeBinaryVector vector.
    ofRow(org.apache.arrow.vector.VarCharVector vector, int rowId)
    Create a UTF8 String from the row value in the arrow vector.
  • Method Details

    • getGenericClass

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

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

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

      Utf8StringT ofByteBuffer(ByteBuffer byteBuffer)
      Create a UTF8 String from the byte buffer.