![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
Page locations for random access within a column chunk. More...
#include <column_index.hpp>
Public Member Functions | |
| bool | valid () const |
| Check if deserialization was successful. | |
| void | serialize (thrift::CompactEncoder &enc) const |
| Serialize this OffsetIndex to a Thrift compact encoder. | |
| void | deserialize (thrift::CompactDecoder &dec) |
| Deserialize this OffsetIndex from a Thrift compact decoder. | |
Public Attributes | |
| bool | valid_ = true |
| False if deserialization failed (M-V7). | |
| std::vector< PageLocation > | page_locations |
| One entry per data page. | |
Page locations for random access within a column chunk.
Contains a list of PageLocation entries, one per data page in the column chunk. Written to the Parquet file after row groups to enable readers to seek directly to any page.
Definition at line 86 of file column_index.hpp.
|
inline |
Deserialize this OffsetIndex from a Thrift compact decoder.
| dec | The decoder to read from. |
Definition at line 112 of file column_index.hpp.
|
inline |
Serialize this OffsetIndex to a Thrift compact encoder.
| enc | The encoder to write to. |
Definition at line 95 of file column_index.hpp.
|
inline |
Check if deserialization was successful.
Definition at line 91 of file column_index.hpp.
| std::vector<PageLocation> signet::forge::OffsetIndex::page_locations |
One entry per data page.
Definition at line 88 of file column_index.hpp.
| bool signet::forge::OffsetIndex::valid_ = true |
False if deserialization failed (M-V7).
Definition at line 87 of file column_index.hpp.