arrow_array::array::list_array

Trait OffsetSizeTrait

Source
pub trait OffsetSizeTrait:
    ArrowNativeType
    + AddAssign
    + Integer {
    const IS_LARGE: bool;
    const PREFIX: &'static str;
}
Expand description

A type that can be used within a variable-size array to encode offset information

See ListArray, LargeListArray, BinaryArray, LargeBinaryArray, StringArray and LargeStringArray

Required Associated Constants§

Source

const IS_LARGE: bool

True for 64 bit offset size and false for 32 bit offset size

Source

const PREFIX: &'static str

Prefix for the offset size

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OffsetSizeTrait for i32

Source§

const IS_LARGE: bool = false

Source§

const PREFIX: &'static str = ""

Source§

impl OffsetSizeTrait for i64

Source§

const IS_LARGE: bool = true

Source§

const PREFIX: &'static str = "Large"

Implementors§