Struct arrow_array::types::GenericBinaryType
source · pub struct GenericBinaryType<O: OffsetSizeTrait> { /* private fields */ }
Expand description
ByteArrayType
for binary arrays
Trait Implementations§
source§impl<O: OffsetSizeTrait> ByteArrayType for GenericBinaryType<O>
impl<O: OffsetSizeTrait> ByteArrayType for GenericBinaryType<O>
§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<Self::Offset>,
values: &Buffer
) -> Result<(), ArrowError>
fn validate( offsets: &OffsetBuffer<Self::Offset>, values: &Buffer ) -> Result<(), ArrowError>
Verifies that every consecutive pair of
offsets
denotes a valid slice of values
Auto Trait Implementations§
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