Expand description
Structs
The decimal type for a Decimal128Array
The decimal type for a Decimal256Array
ByteArrayType
for binary arraysByteArrayType
for string arraysDescribes the meta-data of an ordered sequence of relative types.
Enums
The set of datatypes that are supported by this implementation of Apache Arrow.
YEAR_MONTH, DAY_TIME, MONTH_DAY_NANO interval in SQL style.
An absolute length of time in seconds, milliseconds, microseconds or nanoseconds.
Constants
The maximum precision for arrow_schema::DataType::Decimal128 values
The maximum scale for arrow_schema::DataType::Decimal128 values
The maximum precision for arrow_schema::DataType::Decimal256 values
The maximum scale for arrow_schema::DataType::Decimal256 values
The default scale for arrow_schema::DataType::Decimal128 and
arrow_schema::DataType::Decimal256 values
MAX_DECIMAL_FOR_EACH_PRECISION[p]
holds the maximum i128
value
that can be stored in arrow_schema::DataType::Decimal128 value of precision p
MIN_DECIMAL_FOR_EACH_PRECISION[p]
holds the minimum i128
value
that can be stored in a arrow_schema::DataType::Decimal128 value of precision p
Traits
A subtype of primitive type that represents legal dictionary keys.
See https://arrow.apache.org/docs/format/Columnar.html
Trait expressing a Rust type that has the same in-memory representation
as Arrow. This includes
i16
, f32
, but excludes bool
(which in arrow is represented in bits).Trait for
ArrowNativeType
that adds checked and unchecked arithmetic operations,
and totally ordered comparison operationsTrait bridging the dynamic-typed nature of Arrow (via
DataType
) with the
static-typed nature of rust types (ArrowNativeType
) for all types that implement ArrowNativeType
.A subtype of primitive type that represents temporal values.
A timestamp type allows us to create array builders that take a timestamp.
A trait over the variable-size byte array types
A trait over the decimal types, used by
DecimalArray
to provide a generic
implementation across the various decimal typesAllows conversion from supported Arrow types to a byte slice.
Functions
Validates that the specified
byte_array
of little-endian format
value can be properly interpreted as a Decimal256 number with precision precision
Validates that the specified
i128
value can be properly
interpreted as a Decimal number with precision precision