Struct arrow_array::types::GenericStringType
source · pub struct GenericStringType<O: OffsetSizeTrait> { /* private fields */ }
Expand description
ByteArrayType
for string arrays
Trait Implementations§
source§impl<O: OffsetSizeTrait> ByteArrayType for GenericStringType<O>
impl<O: OffsetSizeTrait> ByteArrayType for GenericStringType<O>
§type Native = str
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>
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 GenericStringType<O>where O: RefUnwindSafe,
impl<O> Send for GenericStringType<O>
impl<O> Sync for GenericStringType<O>
impl<O> Unpin for GenericStringType<O>where O: Unpin,
impl<O> UnwindSafe for GenericStringType<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