pub struct BinaryArray { /* fields omitted */ }
A special type of ListArray
whose elements are binaries.
Returns the element at index i
as a byte slice.
Returns the element at index i
as a string.
Note this doesn't do any bound checking, for performance reason.
Returns the offset for the element at index i
.
Note this doesn't do any bound checking, for performance reason.
Returns the length for the element at index i
.
Note this doesn't do any bound checking, for performance reason.
Returns the array as Any
so that it can be downcast to a specific implementation
Returns a reference-counted pointer to the data of this array
Returns a borrowed & reference-counted pointer to the data of this array
Returns a reference to the data type of this array
Returns the length (i.e., number of elements) of this array
Returns the offset of this array
Returns whether the element at index i
is null
Returns whether the element at index i
is not null
Returns the total number of nulls in this array
Creates a BinaryArray
from List<u8>
array
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)