Trait arrow_array::types::DecimalType
source · [−]pub trait DecimalType: 'static + Send + Sync + DecimalTypeSealed {
type Native: NativeDecimalType;
const BYTE_LENGTH: usize;
const MAX_PRECISION: u8;
const MAX_SCALE: u8;
const TYPE_CONSTRUCTOR: fn(_: u8, _: u8) -> DataType;
const DEFAULT_TYPE: DataType;
}Expand description
A trait over the decimal types, used by DecimalArray to provide a generic
implementation across the various decimal types
Implemented by Decimal128Type and Decimal256Type for Decimal128Array
and Decimal256Array respectively