Module arrow::datatypes[][src]

Expand description

Defines the logical data types of Arrow arrays.

The most important things you might be looking for are:

  • Schema to describe a schema.
  • Field to describe one field within a schema.
  • DataType to describe the type of a field.

Structs

Enums

The set of datatypes that are supported by this implementation of Apache Arrow.

YEAR_MONTH or DAY_TIME interval in SQL style.

An absolute length of time in seconds, milliseconds, microseconds or nanoseconds.

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). In little endian machines, types that implement ArrowNativeType can be memcopied to arrow buffers as is.

Trait 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.

Trait declaring any type that is serializable to JSON. This includes all primitive types (bool, i32, etc.).

Allows conversion from supported Arrow types to a byte slice.

Type Definitions

A reference-counted reference to a Schema.