![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
File offset and size descriptor for a single data page. More...
#include <column_index.hpp>
Public Member Functions | |
| void | serialize (thrift::CompactEncoder &enc) const |
| Serialize this PageLocation to a Thrift compact encoder. | |
| void | deserialize (thrift::CompactDecoder &dec) |
| Deserialize this PageLocation from a Thrift compact decoder. | |
Public Attributes | |
| int64_t | offset = 0 |
| Absolute file offset of the page header. | |
| int32_t | compressed_page_size = 0 |
| Size of the page in compressed bytes. | |
| int64_t | first_row_index = 0 |
| First row in this page (relative to row group). | |
File offset and size descriptor for a single data page.
Used by OffsetIndex to record the location of each page within the Parquet file, enabling random access into column chunks without sequential scanning.
Definition at line 35 of file column_index.hpp.
|
inline |
Deserialize this PageLocation from a Thrift compact decoder.
| dec | The decoder to read from. |
Definition at line 63 of file column_index.hpp.
|
inline |
Serialize this PageLocation to a Thrift compact encoder.
| enc | The encoder to write to. |
Definition at line 42 of file column_index.hpp.
| int32_t signet::forge::PageLocation::compressed_page_size = 0 |
Size of the page in compressed bytes.
Definition at line 37 of file column_index.hpp.
| int64_t signet::forge::PageLocation::first_row_index = 0 |
First row in this page (relative to row group).
Definition at line 38 of file column_index.hpp.
| int64_t signet::forge::PageLocation::offset = 0 |
Absolute file offset of the page header.
Definition at line 36 of file column_index.hpp.