@Namespace(value="parquet") @NoOffset @Properties(inherit=parquet.class) public class RowGroupMetaData extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RowGroupMetaData(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
can_decompress() |
ColumnChunkMetaData |
ColumnChunk(int index)
\brief Return the ColumnChunkMetaData of the corresponding column ordinal.
|
boolean |
Equals(RowGroupMetaData other) |
long |
file_offset()
\brief Byte offset from beginning of file to first page (data or
dictionary) in this row group
The file_offset field that this method exposes is optional.
|
static RowGroupMetaData |
Make(Pointer metadata,
SchemaDescriptor schema) |
static RowGroupMetaData |
Make(Pointer metadata,
SchemaDescriptor schema,
ApplicationVersion writer_version,
InternalFileDecryptor file_decryptor)
\brief Create a RowGroupMetaData from a serialized thrift message.
|
int |
num_columns()
\brief The number of columns in this row group.
|
long |
num_rows()
\brief Number of rows in this row group.
|
SchemaDescriptor |
schema() |
long |
total_byte_size()
\brief Total byte size of all the uncompressed column data in this row group.
|
long |
total_compressed_size()
\brief Total byte size of all the compressed (and potentially encrypted)
column data in this row group.
|
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 RowGroupMetaData(Pointer p)
Pointer(Pointer)
.@UniquePtr public static RowGroupMetaData Make(@Const Pointer metadata, @Const SchemaDescriptor schema, @Const ApplicationVersion writer_version, @SharedPtr InternalFileDecryptor file_decryptor)
@UniquePtr public static RowGroupMetaData Make(@Const Pointer metadata, @Const SchemaDescriptor schema)
@Cast(value="bool") public boolean Equals(@Const @ByRef RowGroupMetaData other)
public int num_columns()
@UniquePtr public ColumnChunkMetaData ColumnChunk(int index)
index
- [in] of the ColumnChunkMetaData to retrieve.ParquetException
- if the index is out of bound.@Cast(value="int64_t") public long total_byte_size()
@Cast(value="int64_t") public long total_compressed_size()
@Cast(value="int64_t") public long file_offset()
@Const public SchemaDescriptor schema()
Copyright © 2022. All rights reserved.