Module arrow2::datatypes [−][src]
Expand description
Contains all metadata, such as PhysicalType, DataType, Field and Schema.
Structs
A logical DataType and its associated metadata per
Arrow specification
Enums
The set of supported logical types.
Each variant uniquely identifies a logical type, which define specific semantics to the data (e.g. how it should be represented).
Each variant has a corresponding PhysicalType, obtained via DataType::to_physical_type,
which declares the in-memory representation of data.
The DataType::Extension is special in that it augments a DataType with metadata to support custom types.
Use to_logical_type to desugar such type and return its correspoding logical type.
the set of valid indices types of a dictionary-encoded Array.
Each type corresponds to a variant of crate::array::DictionaryArray.
Interval units defined in Arrow
The set of physical types: unique in-memory representations of an Arrow array.
A physical type has a one-to-many relationship with a crate::datatypes::DataType and
a one-to-one mapping to each struct in this crate that implements crate::array::Array.
The set of all (physical) primitive types.
Each type corresponds to a variant of crate::array::PrimitiveArray.
The time units defined in Arrow.
Type Definitions
typedef for Arc<Schema>.