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

Parquet dictionary page header (parquet.thrift fields 1-3). More...

#include <types.hpp>

Public Member Functions

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

Public Attributes

int32_t num_values = 0
 Number of dictionary entries (field 1).
 
Encoding encoding = Encoding::PLAIN_DICTIONARY
 Dictionary encoding (field 2).
 
std::optional< bool > is_sorted
 Whether entries are sorted (field 3).
 

Detailed Description

Parquet dictionary page header (parquet.thrift fields 1-3).

Fields 1-2 are required. Field 3 (is_sorted) added per parquet-format 2.9.0.

Definition at line 766 of file types.hpp.

Constructor & Destructor Documentation

◆ DictionaryPageHeader()

signet::forge::thrift::DictionaryPageHeader::DictionaryPageHeader ( )
default

Member Function Documentation

◆ deserialize()

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

Definition at line 786 of file types.hpp.

◆ serialize()

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

Definition at line 773 of file types.hpp.

Member Data Documentation

◆ encoding

Encoding signet::forge::thrift::DictionaryPageHeader::encoding = Encoding::PLAIN_DICTIONARY

Dictionary encoding (field 2).

Definition at line 768 of file types.hpp.

◆ is_sorted

std::optional<bool> signet::forge::thrift::DictionaryPageHeader::is_sorted

Whether entries are sorted (field 3).

Definition at line 769 of file types.hpp.

◆ num_values

int32_t signet::forge::thrift::DictionaryPageHeader::num_values = 0

Number of dictionary entries (field 1).

Definition at line 767 of file types.hpp.


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