Module arrow_array::types
source · Expand description
Zero-sized types used to parameterize generic array implementations
Structs
- A boolean datatype
- A 32-bit date type representing the elapsed time since UNIX epoch in days(32 bits).
- A 64-bit date type representing the elapsed time since UNIX epoch in milliseconds(64 bits).
- The decimal type for a Decimal128Array
- The decimal type for a Decimal256Array
- An elapsed time type in microseconds.
- An elapsed time type in milliseconds.
- An elapsed time type in nanoseconds.
- An elapsed time type in seconds.
- A 16-bit floating point number type.
- A 32-bit floating point number type.
- A 64-bit floating point number type.
ByteArrayType
for binary arraysByteArrayType
for string arrays- A signed 8-bit integer type.
- A signed 16-bit integer type.
- A signed 32-bit integer type.
- A signed 64-bit integer type.
- A “calendar” interval type in days and milliseconds.
- A “calendar” interval type in months, days, and nanoseconds.
- A “calendar” interval type in months.
- A 32-bit time type representing the elapsed time since midnight in milliseconds.
- A 32-bit time type representing the elapsed time since midnight in seconds.
- A 64-bit time type representing the elapsed time since midnight in microseconds.
- A 64-bit time type representing the elapsed time since midnight in nanoseconds.
- A timestamp microsecond type with an optional timezone.
- A timestamp millisecond type with an optional timezone.
- A timestamp nanosecond type with an optional timezone.
- A timestamp second type with an optional timezone.
- An unsigned 8-bit integer type.
- An unsigned 16-bit integer type.
- An unsigned 32-bit integer type.
- An unsigned 64-bit integer type.
Traits
- A subtype of primitive type that represents legal dictionary keys. See https://arrow.apache.org/docs/format/Columnar.html
- Trait bridging the dynamic-typed nature of Arrow (via
DataType
) with the static-typed nature of rust types (ArrowNativeType
) for all types that implementArrowNativeType
. - 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
PrimitiveArray
to provide a generic implementation across the various decimal types - A subtype of primitive type that is used as run-ends index in
RunArray
. See https://arrow.apache.org/docs/format/Columnar.html
Functions
- Validate that
precision
andscale
are valid forT
Type Definitions
- An arrow binary array with i32 offsets
- An arrow binary array with i64 offsets
- An arrow utf8 array with i64 offsets
- An arrow utf8 array with i32 offsets