arrow_array::types

Type Alias Utf8Type

Source
pub type Utf8Type = GenericStringType<i32>;
Expand description

An arrow utf8 array with i32 offsets

Aliased Type§

struct Utf8Type { /* private fields */ }

Trait Implementations

Source§

impl<O: OffsetSizeTrait> ByteArrayType for GenericStringType<O>

Source§

const PREFIX: &'static str = "String"

“Binary” or “String”, for use in error messages
Source§

const DATA_TYPE: DataType = _

Datatype of array elements
Source§

type Offset = O

Type of offset i.e i32/i64
Source§

type Native = str

Type for representing its equivalent rust type i.e Utf8Array will have native type has &str BinaryArray will have type as u8
Source§

fn validate( offsets: &OffsetBuffer<Self::Offset>, values: &Buffer, ) -> Result<(), ArrowError>

Verifies that every consecutive pair of offsets denotes a valid slice of values