Module arrow2::types [−][src]
Expand description
This module contains traits to handle all physical types used in this crate.
Most physical types used in this crate are native Rust types, like i32
.
The most important trait is NativeType
, implemented for all Arrow types
with a Rust correspondence (such as i32
or f64
).
Another important trait is BitChunk
, describing types that can be used to
represent chunks of bits (e.g. u8
, u16
), and BitChunkIter
, that can be used to
iterate over bitmaps in BitChunk
s.
Finally, this module also contains traits used to compile code optimized for SIMD instructions at [simd
].
Modules
Structs
An iterator of bool
over a BitChunk
. This iterator is often
compiled to SIMD instructions.
The LSB corresponds
to the first slot, as defined by the arrow specification.
The in-memory representation of the DayMillisecond variant of arrow’s “Interval” logical type.
Traits
Something that can be use as a chunk of bits. This is used to create masks of a given number
of lengths, whose width is 1
. In simd_packed
notation, this corresponds to m1xY
.
Trait declaring any type that can be allocated, serialized and deserialized by this crate. All data-heavy memory operations are implemented for this trait alone.
Trait denoting anything that has a natural logical DataType
.
For example, DataType::Int32
for i32
.