[−][src]Struct arrow::array::FixedSizeBinaryArray
A type of FixedSizeListArray
whose elements are binaries.
Implementations
impl FixedSizeBinaryArray
[src]
pub fn value(&self, i: usize) -> &[u8]
[src]
Returns the element at index i
as a byte slice.
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) -> i32
[src]
Returns the length for an element.
All elements have the same length as the array is a fixed size.
pub fn value_data(&self) -> Buffer
[src]
Returns a clone of the value data buffer
Trait Implementations
impl Array for FixedSizeBinaryArray
[src]
fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
[src]
fn data_type(&self) -> &DataType
[src]
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn offset(&self) -> usize
[src]
fn is_null(&self, index: usize) -> bool
[src]
fn is_valid(&self, index: usize) -> bool
[src]
fn null_count(&self) -> usize
[src]
impl ArrayEqual for FixedSizeBinaryArray
[src]
fn equals(&self, other: &dyn Array) -> bool
[src]
fn range_equals(
&self,
other: &dyn Array,
start_idx: usize,
end_idx: usize,
other_start_idx: usize
) -> bool
[src]
&self,
other: &dyn Array,
start_idx: usize,
end_idx: usize,
other_start_idx: usize
) -> bool
impl Debug for FixedSizeBinaryArray
[src]
impl From<Arc<ArrayData>> for FixedSizeBinaryArray
[src]
fn from(data: ArrayDataRef) -> Self
[src]
impl From<FixedSizeListArray> for FixedSizeBinaryArray
[src]
Creates a FixedSizeBinaryArray
from FixedSizeList<u8>
array
fn from(v: FixedSizeListArray) -> Self
[src]
impl JsonEqual for FixedSizeBinaryArray
[src]
fn equals_json(&self, json: &[&Value]) -> bool
[src]
fn equals_json_values(&self, json: &[Value]) -> bool
[src]
impl ListArrayOps for FixedSizeBinaryArray
[src]
fn value_offset_at(&self, i: usize) -> i32
[src]
impl PartialEq<FixedSizeBinaryArray> for FixedSizeBinaryArray
[src]
impl PartialEq<FixedSizeBinaryArray> for Value
[src]
fn eq(&self, arrow: &FixedSizeBinaryArray) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<Value> for FixedSizeBinaryArray
[src]
Auto Trait Implementations
impl RefUnwindSafe for FixedSizeBinaryArray
impl Send for FixedSizeBinaryArray
impl Sync for FixedSizeBinaryArray
impl Unpin for FixedSizeBinaryArray
impl UnwindSafe for FixedSizeBinaryArray
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,