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

Parquet column statistics (parquet.thrift fields 1-6). More...

#include <types.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > max
 Old-style max (field 1, deprecated).
 
std::optional< std::string > min
 Old-style min (field 2, deprecated).
 
std::optional< int64_t > null_count
 Number of null values (field 3).
 
std::optional< int64_t > distinct_count
 Approximate distinct count (field 4).
 
std::optional< std::string > max_value
 New-style max value (field 5, preferred).
 
std::optional< std::string > min_value
 New-style min value (field 6, preferred).
 

Detailed Description

Parquet column statistics (parquet.thrift fields 1-6).

Fields 1-2 are the legacy min/max (sort-order dependent, deprecated). Fields 5-6 are the new-style min_value/max_value (preferred).

Definition at line 369 of file types.hpp.

Constructor & Destructor Documentation

◆ Statistics()

signet::forge::thrift::Statistics::Statistics ( )
default

Member Function Documentation

◆ deserialize()

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

Definition at line 409 of file types.hpp.

◆ serialize()

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

Definition at line 379 of file types.hpp.

Member Data Documentation

◆ distinct_count

std::optional<int64_t> signet::forge::thrift::Statistics::distinct_count

Approximate distinct count (field 4).

Definition at line 373 of file types.hpp.

◆ max

std::optional<std::string> signet::forge::thrift::Statistics::max

Old-style max (field 1, deprecated).

Definition at line 370 of file types.hpp.

◆ max_value

std::optional<std::string> signet::forge::thrift::Statistics::max_value

New-style max value (field 5, preferred).

Definition at line 374 of file types.hpp.

◆ min

std::optional<std::string> signet::forge::thrift::Statistics::min

Old-style min (field 2, deprecated).

Definition at line 371 of file types.hpp.

◆ min_value

std::optional<std::string> signet::forge::thrift::Statistics::min_value

New-style min value (field 6, preferred).

Definition at line 375 of file types.hpp.

◆ null_count

std::optional<int64_t> signet::forge::thrift::Statistics::null_count

Number of null values (field 3).

Definition at line 372 of file types.hpp.


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