![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
PLAIN-encoded Parquet column decoder. More...
#include "signet/types.hpp"#include "signet/error.hpp"#include "signet/memory.hpp"#include <cstdint>#include <cstring>#include <string>#include <string_view>#include <vector>Go to the source code of this file.
Classes | |
| class | signet::forge::ColumnReader |
| PLAIN-encoded Parquet column decoder. More... | |
Namespaces | |
| namespace | signet |
| namespace | signet::forge |
PLAIN-encoded Parquet column decoder.
Decodes values from a raw data page buffer using the PLAIN encoding. All reads are bounds-checked and return expected<T> on failure. Supports single-value and batch reads for every Parquet physical type.
PLAIN encoding rules (all little-endian on disk):
| Type | Layout |
|---|---|
| BOOLEAN | bit-packed, LSB first |
| INT32 | 4 bytes LE |
| INT64 | 8 bytes LE |
| FLOAT | 4 bytes LE (IEEE 754) |
| DOUBLE | 8 bytes LE (IEEE 754) |
| BYTE_ARRAY | 4-byte LE length prefix + N bytes |
| FIXED_LEN_BYTE_ARRAY | type_length bytes (no length prefix) |
Definition in file column_reader.hpp.