Skip to main content

Module decimal

Module decimal 

Source

Re-exports§

pub use crate::aggregate_fn::fns::min_max::valid_range;

Structs§

Decimal
DecimalData
A decimal array that stores fixed-precision decimal numbers with configurable scale.
DecimalDataParts
Decimal storage and validity, as returned by DecimalArray::into_data_parts.
DecimalMaskedValidityRule
Rule to push down validity masking from MaskedArray parent into DecimalArray child.
DecimalSlots

Traits§

DecimalArrayExt
DecimalArraySlotsExt
Typed array accessors for Decimal.

Functions§

check_precision
Checks that every valid value fits the precision of decimal_dtype.
converted_buffer
Return the array’s unscaled values converted to exactly W, whatever the array’s storage type. Zero-copy when the array is already stored at W.
copy_to_canonical_width
Copies unscaled decimal values into a new buffer at the canonical width of target.
narrowed_decimal
Attempt to narrow the decimal array to any smaller supported type.

Type Aliases§

DecimalArray
A Decimal-encoded Vortex array.