Type Definition arrow_array::array::GenericStringArray

source ·
pub type GenericStringArray<OffsetSize> = GenericByteArray<GenericStringType<OffsetSize>>;
Expand description

Generic struct for [Large]StringArray

See StringArray and LargeStringArray for storing specific string data.

Implementations

👎Deprecated: please use Self::DATA_TYPE instead

Get the data type of the array.

Returns the number of Unicode Scalar Value in the string at index i.

Performance

This function has O(n) time complexity where n is the string length. If you can make sure that all chars in the string are in the range U+0x0000 ~ U+0x007F, please use the function value_length which has O(1) time complexity.

Creates a GenericStringArray based on an iterator of values without nulls

Returns an iterator that returns the values of array.value(i) for an iterator with each element i

Returns an iterator that returns the values of array.value(i) for an iterator with each element i

Safety

caller must ensure that the indexes in the iterator are less than the array.len()

Trait Implementations

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

Creates a GenericStringArray based on an iterator of Option references.

Creates a GenericStringArray based on an iterator of Options

This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more