@Namespace(value="arrow::ipc") @Properties(inherit=arrow.class) public class RecordBatchWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RecordBatchWriter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Close()
\brief Perform any logic necessary to finish the stream
|
WriteStats |
stats()
\brief Return current write statistics
|
Status |
WriteRecordBatch(RecordBatch batch)
\brief Write a record batch to the stream
|
Status |
WriteTable(Table table)
\brief Write possibly-chunked table by creating sequence of record batches
|
Status |
WriteTable(Table table,
long max_chunksize)
\brief Write Table with a particular chunksize
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public RecordBatchWriter(Pointer p)
Pointer(Pointer)
.@ByVal public Status WriteRecordBatch(@Const @ByRef RecordBatch batch)
batch
- [in] the record batch to write to the stream@ByVal public Status WriteTable(@Const @ByRef Table table)
table
- [in] table to write@ByVal public Status WriteTable(@Const @ByRef Table table, @Cast(value="int64_t") long max_chunksize)
table
- [in] table to writemax_chunksize
- [in] maximum length of table chunks. To indicate
that no maximum should be enforced, pass -1.@ByVal public Status Close()
@ByVal public WriteStats stats()
Copyright © 2022. All rights reserved.