pub type BinaryType = GenericBinaryType<i32>;
Expand description
An arrow binary array with i32 offsets
Aliased Type§
struct BinaryType { /* private fields */ }
Trait Implementations
Source§impl<O> ByteArrayType for GenericBinaryType<O>where
O: OffsetSizeTrait,
impl<O> ByteArrayType for GenericBinaryType<O>where
O: OffsetSizeTrait,
Source§type Native = [u8]
type Native = [u8]
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<<GenericBinaryType<O> as ByteArrayType>::Offset>,
values: &Buffer,
) -> Result<(), ArrowError>
fn validate( offsets: &OffsetBuffer<<GenericBinaryType<O> as ByteArrayType>::Offset>, values: &Buffer, ) -> Result<(), ArrowError>
Verifies that every consecutive pair of
offsets
denotes a valid slice of values