@Namespace(value="parquet::arrow") @Properties(inherit=parquet.class) public class FileWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FileWriter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Close() |
static Status |
Make(MemoryPool pool,
ParquetFileWriter writer,
Schema schema,
ArrowWriterProperties arrow_properties,
FileWriter out) |
MemoryPool |
memory_pool() |
FileMetaData |
metadata() |
Status |
NewRowGroup(long chunk_size) |
static Status |
Open(Schema schema,
MemoryPool pool,
OutputStream sink,
WriterProperties properties,
ArrowWriterProperties arrow_properties,
FileWriter writer) |
static Status |
Open(Schema schema,
MemoryPool pool,
OutputStream sink,
WriterProperties properties,
FileWriter writer) |
Schema |
schema() |
Status |
WriteColumnChunk(Array data) |
Status |
WriteColumnChunk(ChunkedArray data) |
Status |
WriteColumnChunk(ChunkedArray data,
long offset,
long size)
\brief Write ColumnChunk in row group using slice of a ChunkedArray
|
Status |
WriteTable(Table table,
long chunk_size)
\brief Write a Table to Parquet.
|
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 FileWriter(Pointer p)
Pointer(Pointer)
.@ByVal public static Status Make(MemoryPool pool, @UniquePtr ParquetFileWriter writer, @SharedPtr @ByVal Schema schema, @SharedPtr ArrowWriterProperties arrow_properties, @UniquePtr FileWriter out)
@ByVal public static Status Open(@Const @ByRef Schema schema, MemoryPool pool, @SharedPtr OutputStream sink, @SharedPtr WriterProperties properties, @UniquePtr FileWriter writer)
@ByVal public static Status Open(@Const @ByRef Schema schema, MemoryPool pool, @SharedPtr OutputStream sink, @SharedPtr WriterProperties properties, @SharedPtr ArrowWriterProperties arrow_properties, @UniquePtr FileWriter writer)
@SharedPtr @ByVal public Schema schema()
@ByVal public Status WriteTable(@Const @ByRef Table table, @Cast(value="int64_t") long chunk_size)
@ByVal public Status WriteColumnChunk(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ChunkedArray>"}) ChunkedArray data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long size)
@ByVal public Status WriteColumnChunk(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ChunkedArray>"}) ChunkedArray data)
public MemoryPool memory_pool()
@SharedPtr public FileMetaData metadata()
Copyright © 2022. All rights reserved.