Expand description
Structs§
- Binary
View Type BinaryViewType
for string arrays- Boolean
Type - A boolean datatype
- Date32
Type - 32-bit date type: the elapsed time since UNIX epoch in days (32 bits).
- Date64
Type - 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. - Decimal128
Type - The decimal type for a Decimal128Array
- Decimal256
Type - The decimal type for a Decimal256Array
- Duration
Microsecond Type - Elapsed time type: microseconds.
- Duration
Millisecond Type - Elapsed time type: milliseconds.
- Duration
Nanosecond Type - Elapsed time type: nanoseconds.
- Duration
Second Type - Elapsed time type: seconds.
- Field
- Describes a single column in a
Schema
. - Fields
- A cheaply cloneable, owned slice of
FieldRef
- Float16
Type - 16-bit floating point number type.
- Float32
Type - 32-bit floating point number type.
- Float64
Type - 64-bit floating point number type.
- Generic
Binary Type ByteArrayType
for binary arrays- Generic
String Type ByteArrayType
for string arrays- Int8
Type - A signed 8-bit integer type.
- Int16
Type - Signed 16-bit integer type.
- Int32
Type - Signed 32-bit integer type.
- Int64
Type - Signed 64-bit integer type.
- Interval
DayTime - Value of an IntervalDayTime array
- Interval
DayTime Type - “Calendar” interval type: days and milliseconds. See
IntervalDayTime
for more details. - Interval
Month DayNano - Value of an IntervalMonthDayNano array
- Interval
Month DayNano Type - “Calendar” interval type: months, days, and nanoseconds. See
IntervalMonthDayNano
for more details. - Interval
Year Month Type - 32-bit “calendar” interval type: the number of whole months.
- Schema
- Describes the meta-data of an ordered sequence of relative types.
- Schema
Builder - A builder to facilitate building a
Schema
from iteratively fromFieldRef
- String
View Type ByteViewType
for string arrays- Time32
Millisecond Type - 32-bit time type: the elapsed time since midnight in milliseconds.
- Time32
Second Type - 32-bit time type: the elapsed time since midnight in seconds.
- Time64
Microsecond Type - 64-bit time type: the elapsed time since midnight in microseconds.
- Time64
Nanosecond Type - 64-bit time type: the elapsed time since midnight in nanoseconds.
- Timestamp
Microsecond Type - Timestamp microsecond type with an optional timezone.
- Timestamp
Millisecond Type - Timestamp millisecond type with an optional timezone.
- Timestamp
Nanosecond Type - Timestamp nanosecond type with an optional timezone.
- Timestamp
Second Type - Timestamp second type with an optional timezone.
- UInt8
Type - Unsigned 8-bit integer type.
- UInt16
Type - Unsigned 16-bit integer type.
- UInt32
Type - Unsigned 32-bit integer type.
- UInt64
Type - Unsigned 64-bit integer type.
- Union
Fields - A cheaply cloneable, owned collection of
FieldRef
and their corresponding type ids - i256
- A signed 256-bit integer
Enums§
- Data
Type - Datatypes supported by this implementation of Apache Arrow.
- Interval
Unit - YEAR_MONTH, DAY_TIME, MONTH_DAY_NANO interval in SQL style.
- Time
Unit - An absolute length of time in seconds, milliseconds, microseconds or nanoseconds.
- Union
Mode - Sparse or Dense union layouts
Constants§
- DECIMA
L128_ MAX_ PRECISION - The maximum precision for DataType::Decimal128 values
- DECIMA
L128_ MAX_ SCALE - The maximum scale for DataType::Decimal128 values
- DECIMA
L256_ MAX_ PRECISION - The maximum precision for DataType::Decimal256 values
- DECIMA
L256_ MAX_ SCALE - The maximum scale for DataType::Decimal256 values
- DECIMAL_
DEFAULT_ SCALE - The default scale for DataType::Decimal128 and DataType::Decimal256 values
- MAX_
DECIMA L128_ FOR_ EACH_ PRECISION MAX_DECIMAL128_FOR_EACH_PRECISION[p]
holds the maximumi128
value that can be stored inDecimal128
value of precisionp
.- MAX_
DECIMA L256_ FOR_ EACH_ PRECISION MAX_DECIMAL256_FOR_EACH_PRECISION[p]
holds the maximumi256
value that can be stored in aDecimal256
value of precisionp
.- MAX_
DECIMAL_ FOR_ EACH_ PRECISION Deprecated MAX_DECIMAL_FOR_EACH_PRECISION[p-1]
holds the maximumi128
value that can be stored in aDecimal128
value of precisionp
- MIN_
DECIMA L128_ FOR_ EACH_ PRECISION MIN_DECIMAL_FOR_EACH_PRECISION[p]
holds the minimumi128
value that can be stored in aDecimal128
value of precisionp
.- MIN_
DECIMA L256_ FOR_ EACH_ PRECISION MIN_DECIMAL256_FOR_EACH_PRECISION[p]
holds the minimumi256
value that can be stored in aDecimal256
value of precisionp
.- MIN_
DECIMAL_ FOR_ EACH_ PRECISION Deprecated MIN_DECIMAL_FOR_EACH_PRECISION[p-1]
holds the minimumi128
value that can be stored in aDecimal128
value of precisionp
Traits§
- Arrow
Dictionary KeyType - A subtype of primitive type that represents legal dictionary keys. See https://arrow.apache.org/docs/format/Columnar.html
- Arrow
Native Type - Trait expressing a Rust type that has the same in-memory representation as Arrow.
- Arrow
Native Type Op - Trait for
ArrowNativeType
that adds checked and unchecked arithmetic operations, and totally ordered comparison operations - Arrow
Numeric Type - A subtype of primitive type that represents numeric values.
- Arrow
Primitive Type - Trait for primitive values.
- Arrow
Temporal Type - A subtype of primitive type that represents temporal values.
- Arrow
Timestamp Type - A timestamp type allows us to create array builders that take a timestamp.
- Byte
Array Type - A trait over the variable-size byte array types
- Byte
View Type - A trait over the variable length bytes view array types
- Decimal
Type - A trait over the decimal types, used by
PrimitiveArray
to provide a generic implementation across the various decimal types - RunEnd
Index Type - A subtype of primitive type that is used as run-ends index
in
RunArray
. See https://arrow.apache.org/docs/format/Columnar.html - ToByte
Slice - Allows conversion from supported Arrow types to a byte slice.
Functions§
- is_
validate_ decimal256_ precision - Return true if the specified
i256
value can be properly interpreted as aDecimal256
number with precisionprecision
- is_
validate_ decimal_ precision - Returns true if the specified
i128
value can be properly interpreted as aDecimal128
number with precisionprecision
- validate_
decimal256_ precision - Validates that the specified
i256
of value can be properly interpreted as aDecimal256
number with precisionprecision
- validate_
decimal_ precision - Validates that the specified
i128
value can be properly interpreted as aDecimal128
number with precisionprecision
- validate_
decimal_ precision_ and_ scale - Validate that
precision
andscale
are valid forT
Type Aliases§
- Binary
Type - An arrow binary array with i32 offsets
- Field
Ref - A reference counted
Field
- Large
Binary Type - An arrow binary array with i64 offsets
- Large
Utf8 Type - An arrow utf8 array with i64 offsets
- Schema
Ref - A reference-counted reference to a
Schema
. - Utf8
Type - An arrow utf8 array with i32 offsets