@Namespace(value="parquet") @Properties(inherit=parquet.class) public class ColumnWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ColumnWriter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
Close()
\brief Closes the ColumnWriter, commits any buffered values to pages.
|
ColumnDescriptor |
descr()
\brief The schema for the column
|
static ColumnWriter |
Make(ColumnChunkMetaDataBuilder arg0,
PageWriter arg1,
WriterProperties properties) |
WriterProperties |
properties()
\brief The file-level writer properties
|
long |
rows_written()
\brief The number of rows written so far
|
long |
total_bytes_written()
\brief The total number of bytes written as serialized data and
dictionary pages to the ColumnChunk so far
|
long |
total_compressed_bytes()
\brief The total size of the compressed pages + page headers.
|
Type.type |
type()
\brief The physical Parquet type of the column
|
Status |
WriteArrow(short[] def_levels,
short[] rep_levels,
long num_levels,
Array leaf_array,
ArrowWriteContext ctx,
boolean leaf_field_nullable) |
Status |
WriteArrow(ShortBuffer def_levels,
ShortBuffer rep_levels,
long num_levels,
Array leaf_array,
ArrowWriteContext ctx,
boolean leaf_field_nullable) |
Status |
WriteArrow(ShortPointer def_levels,
ShortPointer rep_levels,
long num_levels,
Array leaf_array,
ArrowWriteContext ctx,
boolean leaf_field_nullable)
\brief Write Apache Arrow columnar data directly to ColumnWriter.
|
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 ColumnWriter(Pointer p)
Pointer(Pointer)
.@SharedPtr public static ColumnWriter Make(ColumnChunkMetaDataBuilder arg0, @UniquePtr PageWriter arg1, @Const WriterProperties properties)
@Cast(value="int64_t") public long Close()
public Type.type type()
@Const public ColumnDescriptor descr()
@Cast(value="int64_t") public long rows_written()
@Cast(value="int64_t") public long total_compressed_bytes()
@Cast(value="int64_t") public long total_bytes_written()
@Const public WriterProperties properties()
@ByVal public Status WriteArrow(@Const ShortPointer def_levels, @Const ShortPointer rep_levels, @Cast(value="int64_t") long num_levels, @Const @ByRef Array leaf_array, ArrowWriteContext ctx, @Cast(value="bool") boolean leaf_field_nullable)
@ByVal public Status WriteArrow(@Const ShortBuffer def_levels, @Const ShortBuffer rep_levels, @Cast(value="int64_t") long num_levels, @Const @ByRef Array leaf_array, ArrowWriteContext ctx, @Cast(value="bool") boolean leaf_field_nullable)
Copyright © 2022. All rights reserved.