◆ VariantDecimalData()
| duckdb::VariantDecimalData::VariantDecimalData |
( |
uint32_t | width, |
|
|
uint32_t | scale, |
|
|
const_data_ptr_t | value_ptr ) |
|
inline |
16021 : width(width), scale(scale), value_ptr(value_ptr) {
16022 }
◆ GetPhysicalType()
| PhysicalType duckdb::VariantDecimalData::GetPhysicalType |
( |
| ) |
const |
238454 {
238455 if (width > DecimalWidth<int64_t>::max) {
238456 return PhysicalType::INT128;
238457 } else if (width > DecimalWidth<int32_t>::max) {
238459 } else if (width > DecimalWidth<int16_t>::max) {
238461 } else {
238463 }
238464}
@ INT64
Signed 64-bit little-endian integer.
Definition duckdb.hpp:2767
@ INT16
Signed 16-bit little-endian integer.
Definition duckdb.hpp:2755
@ INT32
Signed 32-bit little-endian integer.
Definition duckdb.hpp:2761
The documentation for this struct was generated from the following files: