Package io.fury.format.vectorized
Class ArrowUtils
java.lang.Object
io.fury.format.vectorized.ArrowUtils
Arrow utils.
- Author:
- chaokunyang
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.arrow.memory.ArrowBufbuffer(long initialRequestSize) static ArrowWritercreateArrowWriter(org.apache.arrow.vector.types.pojo.Schema schema) static org.apache.arrow.vector.VectorSchemaRootcreateVectorSchemaRoot(org.apache.arrow.vector.types.pojo.Schema schema) static org.apache.arrow.memory.ArrowBufstatic org.apache.arrow.vector.ipc.message.ArrowRecordBatchdeserializeRecordBatch(MemoryBuffer recordBatchMessageBuffer) static voidserializeRecordBatch(org.apache.arrow.vector.ipc.message.ArrowRecordBatch recordBatch, MemoryBuffer buffer)
-
Field Details
-
allocator
public static org.apache.arrow.memory.RootAllocator allocator
-
-
Constructor Details
-
ArrowUtils
public ArrowUtils()
-
-
Method Details
-
buffer
public static org.apache.arrow.memory.ArrowBuf buffer(long initialRequestSize) -
decimalArrowBuf
public static org.apache.arrow.memory.ArrowBuf decimalArrowBuf() -
createVectorSchemaRoot
public static org.apache.arrow.vector.VectorSchemaRoot createVectorSchemaRoot(org.apache.arrow.vector.types.pojo.Schema schema) -
createArrowWriter
-
serializeRecordBatch
public static void serializeRecordBatch(org.apache.arrow.vector.ipc.message.ArrowRecordBatch recordBatch, MemoryBuffer buffer) -
deserializeRecordBatch
public static org.apache.arrow.vector.ipc.message.ArrowRecordBatch deserializeRecordBatch(MemoryBuffer recordBatchMessageBuffer)
-