◆ Serialize()
| void duckdb::BoundPivotInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
417318 {
417319 serializer.WritePropertyWithDefault<
idx_t>(100,
"group_count",
group_count);
417320 serializer.WritePropertyWithDefault<vector<LogicalType>>(101,
"types",
types);
417321 serializer.WritePropertyWithDefault<vector<string>>(102,
"pivot_values",
pivot_values);
417322 serializer.WritePropertyWithDefault<vector<unique_ptr<Expression>>>(103,
"aggregates",
aggregates);
417323}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
vector< LogicalType > types
The set of types.
Definition duckdb.cpp:197382
vector< string > pivot_values
The set of values to pivot on.
Definition duckdb.cpp:197384
idx_t group_count
The number of group columns.
Definition duckdb.cpp:197380
vector< unique_ptr< Expression > > aggregates
The set of aggregate functions that is being executed.
Definition duckdb.cpp:197386
◆ Deserialize()
417325 {
417326 BoundPivotInfo result;
417327 deserializer.ReadPropertyWithDefault<
idx_t>(100,
"group_count", result.group_count);
417328 deserializer.ReadPropertyWithDefault<vector<LogicalType>>(101, "types", result.types);
417329 deserializer.ReadPropertyWithDefault<vector<string>>(102, "pivot_values", result.pivot_values);
417330 deserializer.ReadPropertyWithDefault<vector<unique_ptr<Expression>>>(103, "aggregates", result.aggregates);
417331 return result;
417332}
The documentation for this struct was generated from the following file: