|
|
virtual void | Serialize (Serializer &serializer) const =0 |
| template<class TARGET> |
| TARGET & | Cast () |
| template<class TARGET> |
| const TARGET & | Cast () const |
◆ ~ColumnSegmentState()
| virtual duckdb::ColumnSegmentState::~ColumnSegmentState |
( |
| ) |
|
|
inlinevirtual |
◆ Deserialize()
411322 {
411323 auto compression_type = deserializer.Get<CompressionType>();
411324 auto &
db = deserializer.Get<DatabaseInstance &>();
411325 auto &type = deserializer.Get<const LogicalType &>();
411326
411327 auto compression_function =
411328 DBConfig::GetConfig(db).TryGetCompressionFunction(compression_type, type.InternalType());
411329 if (!compression_function || !compression_function->deserialize_state) {
411330 throw SerializationException("Deserializing a ColumnSegmentState but could not find deserialize method");
411331 }
411332 return compression_function->deserialize_state(deserializer);
411333}
◆ Cast() [1/2]
template<class TARGET>
| TARGET & duckdb::ColumnSegmentState::Cast |
( |
| ) |
|
|
inline |
38815 {
38816 DynamicCastCheck<TARGET>(this);
38817 return reinterpret_cast<TARGET &>(*this);
38818 }
◆ Cast() [2/2]
template<class TARGET>
| const TARGET & duckdb::ColumnSegmentState::Cast |
( |
| ) |
const |
|
inline |
38820 {
38821 DynamicCastCheck<TARGET>(this);
38822 return reinterpret_cast<const TARGET &>(*this);
38823 }
The documentation for this struct was generated from the following files: