should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,49 @@
#pragma once
#include "duckdb/common/serializer/buffered_file_writer.hpp"
#include "duckdb/common/case_insensitive_map.hpp"
#include "duckdb/common/types/variant.hpp"
namespace duckdb {
struct ShreddingType;
struct ChildShreddingTypes {
public:
ChildShreddingTypes();
public:
ChildShreddingTypes Copy() const;
public:
void Serialize(Serializer &serializer) const;
static ChildShreddingTypes Deserialize(Deserializer &source);
public:
unique_ptr<case_insensitive_map_t<ShreddingType>> types;
};
struct ShreddingType {
public:
ShreddingType();
explicit ShreddingType(const LogicalType &type);
public:
ShreddingType Copy() const;
public:
void Serialize(Serializer &serializer) const;
static ShreddingType Deserialize(Deserializer &source);
public:
static ShreddingType GetShreddingTypes(const Value &val);
void AddChild(const string &name, ShreddingType &&child);
optional_ptr<const ShreddingType> GetChild(const string &name) const;
public:
bool set = false;
LogicalType type;
ChildShreddingTypes children;
};
} // namespace duckdb