![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
Parquet schema element (parquet.thrift fields 1-10). More...
#include <types.hpp>
Public Member Functions | |
| SchemaElement ()=default | |
| void | serialize (CompactEncoder &enc) const |
| expected< void > | deserialize (CompactDecoder &dec) |
Public Attributes | |
| std::optional< PhysicalType > | type |
| Physical type (field 1, absent for group nodes). | |
| std::optional< int32_t > | type_length |
| Type length for FIXED_LEN_BYTE_ARRAY (field 2). | |
| std::optional< Repetition > | repetition_type |
| REQUIRED/OPTIONAL/REPEATED (field 3). | |
| std::string | name |
| Column or group name (field 4, required). | |
| std::optional< int32_t > | num_children |
| Number of children for group nodes (field 5). | |
| std::optional< ConvertedType > | converted_type |
| Legacy converted type (field 6). | |
| std::optional< int32_t > | scale |
| Decimal scale (field 7). | |
| std::optional< int32_t > | precision |
| Decimal precision (field 8). | |
| std::optional< int32_t > | field_id |
| Field ID for nested type evolution (field 9). | |
| std::optional< LogicalTypeUnion > | logical_type |
| LogicalType union (field 10, preferred). | |
Parquet schema element (parquet.thrift fields 1-10).
Represents a single node in the Parquet schema tree. Leaf nodes have a physical type; group nodes have num_children instead. Fields 9 (field_id) and 10 (logicalType) added per parquet-format 2.9.0.
|
default |
|
inline |
|
inline |
| std::optional<ConvertedType> signet::forge::thrift::SchemaElement::converted_type |
| std::optional<int32_t> signet::forge::thrift::SchemaElement::field_id |
| std::optional<LogicalTypeUnion> signet::forge::thrift::SchemaElement::logical_type |
| std::string signet::forge::thrift::SchemaElement::name |
| std::optional<int32_t> signet::forge::thrift::SchemaElement::num_children |
| std::optional<int32_t> signet::forge::thrift::SchemaElement::precision |
| std::optional<Repetition> signet::forge::thrift::SchemaElement::repetition_type |
| std::optional<int32_t> signet::forge::thrift::SchemaElement::scale |
| std::optional<PhysicalType> signet::forge::thrift::SchemaElement::type |
| std::optional<int32_t> signet::forge::thrift::SchemaElement::type_length |