◆ DecimalTypeInfo() [1/2]
| duckdb::DecimalTypeInfo::DecimalTypeInfo |
( |
uint8_t |
width_p, |
|
|
uint8_t |
scale_p |
|
) |
| |
72265 : ExtraTypeInfo(ExtraTypeInfoType::DECIMAL_TYPE_INFO), width(width_p), scale(scale_p) {
72266 D_ASSERT(width_p >= scale_p);
72267}
◆ DecimalTypeInfo() [2/2]
| duckdb::DecimalTypeInfo::DecimalTypeInfo |
( |
| ) |
|
|
private |
72261 : ExtraTypeInfo(ExtraTypeInfoType::DECIMAL_TYPE_INFO) {
72262}
◆ Serialize()
| void duckdb::DecimalTypeInfo::Serialize |
( |
Serializer & |
serializer | ) |
const |
|
overridevirtual |
◆ Copy()
Reimplemented from duckdb::ExtraTypeInfo.
72274 {
72275 return make_shared_ptr<DecimalTypeInfo>(*this);
72276}
◆ EqualsInternal()
| bool duckdb::DecimalTypeInfo::EqualsInternal |
( |
ExtraTypeInfo * |
other_p | ) |
const |
|
overrideprotectedvirtual |
Reimplemented from duckdb::ExtraTypeInfo.
72269 {
72270 auto &other = other_p->Cast<DecimalTypeInfo>();
72271 return width == other.width && scale == other.scale;
72272}
The documentation for this struct was generated from the following file:
- external/duckdb/duckdb.cpp