@Namespace(value="arrow::ipc") @NoOffset @Properties(inherit=arrow.class) public class RecordBatchFileWriter extends RecordBatchStreamWriter
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RecordBatchFileWriter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Close()
\brief Close the file stream by writing the file footer and magic number
|
static RecordBatchWriterSharedResult |
Open(OutputStream sink,
Schema schema)
Create a new writer from stream sink and schema
|
static RecordBatchWriterSharedResult |
Open(OutputStream sink,
Schema schema,
IpcOptions options) |
static Status |
Open(OutputStream sink,
Schema schema,
RecordBatchWriter out)
Create a new writer from stream sink and schema
|
Status |
WriteRecordBatch(RecordBatch batch)
\brief Write a record batch to the file
|
set_memory_poolWriteTable, WriteTableaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic RecordBatchFileWriter(Pointer p)
Pointer.Pointer(Pointer).@ByVal public static Status Open(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @SharedPtr RecordBatchWriter out)
sink - [in] output stream to write toschema - [in] the schema of the record batches to be writtenout - [out] the created stream writer@ByVal public static RecordBatchWriterSharedResult Open(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
sink - [in] output stream to write toschema - [in] the schema of the record batches to be written@ByVal public static RecordBatchWriterSharedResult Open(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef IpcOptions options)
@ByVal public Status WriteRecordBatch(@Const @ByRef RecordBatch batch)
WriteRecordBatch in class RecordBatchStreamWriterbatch - [in] the record batch to write@ByVal public Status Close()
Close in class RecordBatchStreamWriterCopyright © 2020. All rights reserved.