Module arrow_array::types
source · Expand description
Zero-sized types used to parameterize generic array implementations
Structs§
BinaryViewType
for string arrays- A boolean datatype
- 32-bit date type: the elapsed time since UNIX epoch in days (32 bits).
- 64-bit date type: the elapsed time since UNIX epoch in milliseconds (64 bits). Values must be divisible by
86_400_000
. SeeDataType::Date64
for more details. - The decimal type for a Decimal128Array
- The decimal type for a Decimal256Array
- Elapsed time type: microseconds.
- Elapsed time type: milliseconds.
- Elapsed time type: nanoseconds.
- Elapsed time type: seconds.
- 16-bit floating point number type.
- 32-bit floating point number type.
- 64-bit floating point number type.
ByteArrayType
for binary arraysByteArrayType
for string arrays- A signed 8-bit integer type.
- Signed 16-bit integer type.
- Signed 32-bit integer type.
- Signed 64-bit integer type.
- Value of an IntervalDayTime array
- “Calendar” interval type: days and milliseconds. See
IntervalDayTime
for more details. - Value of an IntervalMonthDayNano array
- “Calendar” interval type: months, days, and nanoseconds. See
IntervalMonthDayNano
for more details. - 32-bit “calendar” interval type: the number of whole months.
ByteViewType
for string arrays- 32-bit time type: the elapsed time since midnight in milliseconds.
- 32-bit time type: the elapsed time since midnight in seconds.
- 64-bit time type: the elapsed time since midnight in microseconds.
- 64-bit time type: the elapsed time since midnight in nanoseconds.
- Timestamp microsecond type with an optional timezone.
- Timestamp millisecond type with an optional timezone.
- Timestamp nanosecond type with an optional timezone.
- Timestamp second type with an optional timezone.
- Unsigned 8-bit integer type.
- Unsigned 16-bit integer type.
- Unsigned 32-bit integer type.
- 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 for primitive values.
- 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 variable length bytes view 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 Aliases§
- 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