[][src]Struct arrow::array::PrimitiveArray

pub struct PrimitiveArray<T: ArrowPrimitiveType> { /* fields omitted */ }

Array whose elements are of primitive types.

Methods

impl PrimitiveArray<u8>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<u16>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<u32>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<u64>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<i8>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<i16>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<i32>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<i64>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<f32>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<f64>
[src]

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the length of this array

Returns a raw pointer to the values of this array.

Returns the primitive value at index i.

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

Returns a slice for the given offset and length

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

Returns the minimum value in the array, according to the natural order.

Returns the maximum value in the array, according to the natural order.

impl PrimitiveArray<bool>
[src]

Specific implementation for Boolean arrays due to bit-packing

Returns a Buffer holds all the values of this array.

Note this doesn't take account into the offset of this array.

Returns the boolean value at index i.

Trait Implementations

impl<T: ArrowPrimitiveType> Array for PrimitiveArray<T>
[src]

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

impl From<Vec<u8>> for PrimitiveArray<u8>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<u8>>> for PrimitiveArray<u8>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<u8>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<u16>> for PrimitiveArray<u16>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<u16>>> for PrimitiveArray<u16>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<u16>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<u32>> for PrimitiveArray<u32>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<u32>>> for PrimitiveArray<u32>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<u32>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<u64>> for PrimitiveArray<u64>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<u64>>> for PrimitiveArray<u64>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<u64>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<i8>> for PrimitiveArray<i8>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<i8>>> for PrimitiveArray<i8>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<i8>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<i16>> for PrimitiveArray<i16>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<i16>>> for PrimitiveArray<i16>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<i16>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<i32>> for PrimitiveArray<i32>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<i32>>> for PrimitiveArray<i32>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<i32>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<i64>> for PrimitiveArray<i64>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<i64>>> for PrimitiveArray<i64>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<i64>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<f32>> for PrimitiveArray<f32>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<f32>>> for PrimitiveArray<f32>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<f32>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<f64>> for PrimitiveArray<f64>
[src]

Constructs a primitive array from a vector. Should only be used for testing.

impl From<Vec<Option<f64>>> for PrimitiveArray<f64>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<f64>
[src]

Constructs a PrimitiveArray from an array data reference.

impl From<Vec<bool>> for PrimitiveArray<bool>
[src]

Constructs a boolean array from a vector. Should only be used for testing.

impl From<Vec<Option<bool>>> for PrimitiveArray<bool>
[src]

impl From<Arc<ArrayData>> for PrimitiveArray<bool>
[src]

Constructs a PrimitiveArray<bool> from an array data reference.

Auto Trait Implementations

impl<T> Send for PrimitiveArray<T>

impl<T> Sync for PrimitiveArray<T>

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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