Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::thrift::ColumnMetaData Struct Reference

Parquet column metadata (parquet.thrift fields 1-12). More...

#include <types.hpp>

Public Member Functions

 ColumnMetaData ()=default
 
void serialize (CompactEncoder &enc) const
 
expected< void > deserialize (CompactDecoder &dec)
 

Public Attributes

PhysicalType type = PhysicalType::BYTE_ARRAY
 
std::vector< Encodingencodings
 
std::vector< std::string > path_in_schema
 
Compression codec = Compression::UNCOMPRESSED
 
int64_t num_values = 0
 
int64_t total_uncompressed_size = 0
 
int64_t total_compressed_size = 0
 
std::optional< std::vector< KeyValue > > key_value_metadata
 
int64_t data_page_offset = 0
 
std::optional< int64_t > index_page_offset
 
std::optional< int64_t > dictionary_page_offset
 
std::optional< Statisticsstatistics
 

Detailed Description

Parquet column metadata (parquet.thrift fields 1-12).

Contains the physical type, encodings, compression, byte sizes, offsets, and optional statistics for a single column chunk within a row group. Required-field enforcement: fields 1,2,3,4,5,6,7,9 must all be present.

Definition at line 1056 of file types.hpp.

Constructor & Destructor Documentation

◆ ColumnMetaData()

signet::forge::thrift::ColumnMetaData::ColumnMetaData ( )
default

Member Function Documentation

◆ deserialize()

expected< void > signet::forge::thrift::ColumnMetaData::deserialize ( CompactDecoder dec)
inline

Definition at line 1127 of file types.hpp.

◆ serialize()

void signet::forge::thrift::ColumnMetaData::serialize ( CompactEncoder enc) const
inline

Definition at line 1072 of file types.hpp.

Member Data Documentation

◆ codec

Compression signet::forge::thrift::ColumnMetaData::codec = Compression::UNCOMPRESSED

Definition at line 1060 of file types.hpp.

◆ data_page_offset

int64_t signet::forge::thrift::ColumnMetaData::data_page_offset = 0

Definition at line 1065 of file types.hpp.

◆ dictionary_page_offset

std::optional<int64_t> signet::forge::thrift::ColumnMetaData::dictionary_page_offset

Definition at line 1067 of file types.hpp.

◆ encodings

std::vector<Encoding> signet::forge::thrift::ColumnMetaData::encodings

Definition at line 1058 of file types.hpp.

◆ index_page_offset

std::optional<int64_t> signet::forge::thrift::ColumnMetaData::index_page_offset

Definition at line 1066 of file types.hpp.

◆ key_value_metadata

std::optional<std::vector<KeyValue> > signet::forge::thrift::ColumnMetaData::key_value_metadata

Definition at line 1064 of file types.hpp.

◆ num_values

int64_t signet::forge::thrift::ColumnMetaData::num_values = 0

Definition at line 1061 of file types.hpp.

◆ path_in_schema

std::vector<std::string> signet::forge::thrift::ColumnMetaData::path_in_schema

Definition at line 1059 of file types.hpp.

◆ statistics

std::optional<Statistics> signet::forge::thrift::ColumnMetaData::statistics

Definition at line 1068 of file types.hpp.

◆ total_compressed_size

int64_t signet::forge::thrift::ColumnMetaData::total_compressed_size = 0

Definition at line 1063 of file types.hpp.

◆ total_uncompressed_size

int64_t signet::forge::thrift::ColumnMetaData::total_uncompressed_size = 0

Definition at line 1062 of file types.hpp.

◆ type

PhysicalType signet::forge::thrift::ColumnMetaData::type = PhysicalType::BYTE_ARRAY

Definition at line 1057 of file types.hpp.


The documentation for this struct was generated from the following file: