Expand description
Low-level buffer abstractions for Apache Arrow Rust
ยงByte Storage abstractions
MutableBuffer: Raw memory buffer that can be mutated and grownBuffer: Immutable buffer that is shared across threads
ยงTyped Abstractions
There are also several wrappers over Buffer with methods for
easier manipulation:
BooleanBuffer: Bitmasks (buffer of packed bits)NullBuffer: Arrow null (validity) bitmaps (BooleanBufferwith extra utilities)ScalarBuffer<T>: Typed buffer for primitive types (e.g.,i32,f64)OffsetBuffer<O>: Offsets used in variable-length types (e.g., strings, lists)RunEndBuffer<E>: Run-ends used in run-encoded encoded data
Re-exportsยง
Modulesยง
- alloc
- Defines the low-level
AllocationAPI for shared memory regions - arith ๐
- bigint ๐
- bit_
chunk_ iterator - Types for iterating over bitmasks in 64-bit chunks
- bit_
iterator - Types for iterating over packed bitmasks
- bit_
mask - Utils for working with packed bit masks
- bit_
util - Utils for working with bits
- buffer
- Types of shared memory region
- builder
- Buffer builders
- bytes ๐
- This module contains an implementation of a contiguous immutable memory region that knows
how to de-allocate itself,
Bytes. Note that this is a low-level functionality of this crate. - interval ๐
- native ๐
- pool ๐
- This module contains traits for memory pool traits and an implementation for tracking memory usage.
- util ๐
Structsยง
- Interval
DayTime - Value of an IntervalDayTime array
- Interval
Month DayNano - Value of an IntervalMonthDayNano array
- Tracking
Memory Pool - A simple
MemoryPoolthat reports the total memory usage - i256
- A signed 256-bit integer
Traitsยง
- Arrow
Native Type - Trait expressing a Rust type that has the same in-memory representation as Arrow.
- Memory
Pool - A pool of memory that can be reserved and released.
- Memory
Reservation - A memory reservation within a
MemoryPoolthat is freed on drop - ToByte
Slice - Allows conversion from supported Arrow types to a byte slice.