Struct arrow::datatypes::GenericBinaryType
source · pub struct GenericBinaryType<O>where
O: OffsetSizeTrait,{ /* private fields */ }
Expand description
ByteArrayType
for binary arrays
Trait Implementations§
source§impl<O> ByteArrayType for GenericBinaryType<O>where
O: OffsetSizeTrait,
impl<O> ByteArrayType for GenericBinaryType<O>where
O: OffsetSizeTrait,
§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
Auto Trait Implementations§
impl<O> Freeze for GenericBinaryType<O>
impl<O> RefUnwindSafe for GenericBinaryType<O>where
O: RefUnwindSafe,
impl<O> Send for GenericBinaryType<O>
impl<O> Sync for GenericBinaryType<O>
impl<O> Unpin for GenericBinaryType<O>where
O: Unpin,
impl<O> UnwindSafe for GenericBinaryType<O>where
O: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more