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 typeUtf8StringT
from arrow vector value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<Utf8StringT>
getGenericClass()
Class of concrete UTF8 String type.Utf8StringT
ofByteBuffer(java.nio.ByteBuffer byteBuffer)
Create a UTF8 String from the byte buffer.Utf8StringT
ofBytes(byte[] bytes)
Create a UTF8 String from the byte array.Utf8StringT
ofRow(org.apache.arrow.vector.VarCharVector vector, int rowId)
Create a UTF8 String from the row value in the arrow vector.
-
-
-
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.
-
ofByteBuffer
Utf8StringT ofByteBuffer(java.nio.ByteBuffer byteBuffer)
Create a UTF8 String from the byte buffer.
-
-