◆ GetWidth()
140520 {
140521 D_ASSERT(type.id() == LogicalTypeId::DECIMAL);
140522 auto info = type.AuxInfo();
140523 D_ASSERT(info);
140524 return info->Cast<DecimalTypeInfo>().width;
140525}
◆ GetScale()
140527 {
140528 D_ASSERT(type.id() == LogicalTypeId::DECIMAL);
140529 auto info = type.AuxInfo();
140530 D_ASSERT(info);
140531 return info->Cast<DecimalTypeInfo>().scale;
140532}
◆ MaxWidth()
| uint8_t duckdb::DecimalType::MaxWidth |
( |
| ) |
|
|
static |
140534 {
140535 return DecimalWidth<hugeint_t>::max;
140536}
The documentation for this struct was generated from the following files: