[][src]Struct arrow::array::StringArray

pub struct StringArray { /* fields omitted */ }

Implementations

impl StringArray[src]

pub fn value_offset(&self, i: usize) -> i32[src]

Returns the offset for the element at index i.

Note this doesn't do any bound checking, for performance reason.

pub fn value_length(&self, i: usize) -> i32[src]

Returns the length for the element at index i.

Note this doesn't do any bound checking, for performance reason.

pub fn value_offsets(&self) -> Buffer[src]

Returns a clone of the value offset buffer

pub fn value_data(&self) -> Buffer[src]

Returns a clone of the value data buffer

impl StringArray[src]

pub fn value(&self, i: usize) -> &str[src]

Returns the element at index i as a string slice.

pub fn builder(capacity: usize) -> StringBuilder[src]

Returns a new string array builder

Trait Implementations

impl Array for StringArray[src]

impl ArrayEqual for StringArray[src]

impl Debug for StringArray[src]

impl From<Arc<ArrayData>> for StringArray[src]

impl From<ListArray> for StringArray[src]

Creates a StringArray from List<u8> array

impl<'a> From<Vec<&'a str>> for StringArray[src]

impl JsonEqual for StringArray[src]

impl ListArrayOps for StringArray[src]

impl OrdArray for StringArray[src]

impl PartialEq<StringArray> for StringArray[src]

impl PartialEq<StringArray> for Value[src]

impl PartialEq<Value> for StringArray[src]

impl<'a> TryFrom<Vec<Option<&'a str>>> for StringArray[src]

type Error = ArrowError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,