Trait arrow_array::array::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

Object Safety§

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§