Skip to main content

Crate arrow_buffer

Crate arrow_buffer 

Source
Expand description

Low-level buffer abstractions for Apache Arrow Rust

§Byte Storage abstractions

  • MutableBuffer: Raw memory buffer that can be mutated and grown
  • Buffer: Immutable buffer that is shared across threads

§Typed Abstractions

There are also several wrappers over Buffer with methods for easier manipulation:

§Platform Support

Only little-endian platforms are officially supported and tested in CI. Big-endian platforms are not tested in CI and may not work correctly. Fixes for big-endian platforms are welcome and handled on a best-effort basis, but compatibility is not guaranteed.

Re-exports§

pub use buffer::*;
pub use builder::*;

Modules§

alloc
Defines the low-level Allocation API for shared memory regions
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

Structs§

AddIndicatorDivisorI32
A i32 divisor whose magnitude isn’t a power of two, see DivisorI32
AddIndicatorDivisorI64
A i64 divisor whose magnitude isn’t a power of two, see DivisorI64
AddIndicatorDivisorU32
A u32 divisor that isn’t a power of two, see DivisorU32
AddIndicatorDivisorU64
A u64 divisor that isn’t a power of two, see DivisorU64
DownDivisorU32
A u32 divisor whose rounded-up multiplier isn’t exact in N bits, see DivisorU32
IntervalDayTime
Value of an IntervalDayTime array
IntervalMonthDayNano
Value of an IntervalMonthDayNano array
OverflowError
An arithmetic overflow.
PowerOfTwoDivisorI32
A i32 divisor whose magnitude is a power of two, see DivisorI32
PowerOfTwoDivisorI64
A i64 divisor whose magnitude is a power of two, see DivisorI64
PowerOfTwoDivisorU32
A u32 divisor that is a power of two, see DivisorU32
PowerOfTwoDivisorU64
A u64 divisor that is a power of two, see DivisorU64
SliceOutOfBoundsError
A slice that does not fit in the buffer it is taken from.
TrackingMemoryPoolpool
A simple MemoryPool that reports the total memory usage
UpDivisorU32
A u32 divisor whose rounded-up multiplier is exact in N bits, see DivisorU32
UpDivisorU64
A u64 divisor whose rounded-up multiplier is exact in N bits, see DivisorU64
i256
A signed 256-bit integer

Enums§

DivisorI32
A i32 divisor, precomputed once to divide many values by it
DivisorI64
A i64 divisor, precomputed once to divide many values by it
DivisorU32
A u32 divisor, precomputed once to divide many values by it
DivisorU64
A u64 divisor, precomputed once to divide many values by it

Traits§

ArrowNativeType
Trait expressing a Rust type that has the same in-memory representation as Arrow.
MemoryPoolpool
A pool of memory that can be reserved and released.
MemoryReservationpool
A memory reservation within a MemoryPool that is freed on drop
ToByteSlice
Allows conversion from supported Arrow types to a byte slice.