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 TypeMethodDescriptionClass of concrete UTF8 String type.ofByteBuffer(ByteBuffer byteBuffer) Create a UTF8 String from the byte buffer.ofBytes(byte[] bytes) Create a UTF8 String from the byte array.default Utf8StringTofRow(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
Create a UTF8 String from the row value in the arrow vector. -
ofRow
Create a UTF8 String from the row value in the FixedSizeBinaryVector vector. -
ofBytes
Create a UTF8 String from the byte array. -
ofByteBuffer
Create a UTF8 String from the byte buffer.
-