◆ IntegerLiteralTypeInfo() [1/2]
| duckdb::IntegerLiteralTypeInfo::IntegerLiteralTypeInfo |
( |
Value | constant_value | ) |
|
|
explicit |
72619 : ExtraTypeInfo(ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO), constant_value(std::move(constant_value_p)) {
72620 if (constant_value.IsNull()) {
72621 throw InternalException("Integer literal cannot be NULL");
72622 }
72623}
◆ IntegerLiteralTypeInfo() [2/2]
| duckdb::IntegerLiteralTypeInfo::IntegerLiteralTypeInfo |
( |
| ) |
|
|
private |
72615 : ExtraTypeInfo(ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO) {
72616}
◆ Serialize()
| void duckdb::IntegerLiteralTypeInfo::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::ExtraTypeInfo.
419958 {
419959 ExtraTypeInfo::Serialize(serializer);
419960 serializer.WriteProperty<Value>(200, "constant_value", constant_value);
419961}
◆ Deserialize()
419963 {
419964 auto result = duckdb::shared_ptr<IntegerLiteralTypeInfo>(new IntegerLiteralTypeInfo());
419965 deserializer.ReadProperty<Value>(200, "constant_value", result->constant_value);
419966 return std::move(result);
419967}
◆ Copy()
| shared_ptr< ExtraTypeInfo > duckdb::IntegerLiteralTypeInfo::Copy |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72630 {
72631 return make_shared_ptr<IntegerLiteralTypeInfo>(*this);
72632}
◆ EqualsInternal()
| bool duckdb::IntegerLiteralTypeInfo::EqualsInternal |
( |
ExtraTypeInfo * | other_p | ) |
const |
|
overrideprotectedvirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72625 {
72626 auto &other = other_p->Cast<IntegerLiteralTypeInfo>();
72627 return constant_value == other.constant_value;
72628}
The documentation for this struct was generated from the following file: