![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
Typed column descriptor for the Schema::build() variadic API. More...
#include <schema.hpp>
Public Member Functions | |
| Column (std::string n) | |
| Construct a column with a name only (logical type auto-deduced for strings). | |
| Column (std::string n, LogicalType lt) | |
| Construct a column with an explicit logical type. | |
| ColumnDescriptor | to_descriptor () const |
| Convert to a ColumnDescriptor for Schema construction. | |
Public Attributes | |
| std::string | name |
| Column name. | |
| LogicalType | logical_type = LogicalType::NONE |
| Optional logical annotation. | |
Typed column descriptor for the Schema::build() variadic API.
Deduces the Parquet PhysicalType from the C++ template parameter T. For std::string, the LogicalType defaults to STRING unless overridden.
| T | C++ type mapped to a Parquet PhysicalType via parquet_type_of. |
Definition at line 39 of file schema.hpp.
|
inline |
Construct a column with a name only (logical type auto-deduced for strings).
| n | Column name. |
Definition at line 45 of file schema.hpp.
|
inline |
Construct a column with an explicit logical type.
| n | Column name. |
| lt | Logical type annotation (NONE falls through to auto-deduction). |
Definition at line 52 of file schema.hpp.
|
inline |
Convert to a ColumnDescriptor for Schema construction.
Definition at line 60 of file schema.hpp.
| LogicalType signet::forge::Column< T >::logical_type = LogicalType::NONE |
Optional logical annotation.
Definition at line 41 of file schema.hpp.
| std::string signet::forge::Column< T >::name |
Column name.
Definition at line 40 of file schema.hpp.