Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
statistics.hpp File Reference

Per-column-chunk statistics tracker and little-endian byte helpers. More...

#include "signet/types.hpp"
#include <algorithm>
#include <cmath>
#include <cstring>
#include <limits>
#include <optional>
#include <string>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  signet::forge::ColumnStatistics
 Per-column-chunk statistics tracker. More...
 

Namespaces

namespace  signet
 
namespace  signet::forge
 

Functions

template<typename T >
std::vector< uint8_t > signet::forge::to_le_bytes (T value)
 Convert an arithmetic value to its little-endian byte representation.
 
std::vector< uint8_t > signet::forge::to_le_bytes (const std::string &value)
 Overload for std::string – returns raw bytes (no endian conversion needed).
 
template<typename T >
signet::forge::from_le_bytes (const std::vector< uint8_t > &bytes)
 Reconstruct an arithmetic value from its little-endian byte representation.
 

Detailed Description

Per-column-chunk statistics tracker and little-endian byte helpers.

Provides ColumnStatistics for tracking min/max/null_count/num_values during column writing, plus to_le_bytes() / from_le_bytes() utilities for converting arithmetic types to their little-endian byte representation.

Definition in file statistics.hpp.