Skip to main content
pub enum ArrayValue 
    Boolean(Vec<Option<bool>>),
    Integer(Vec<Option<i32>>),
    Long(Vec<Option<i64>>),
    Ulong(Vec<Option<u64>>),
    Float(Vec<Option<f32>>),
    Double(Vec<Option<f64>>),
    String(Vec<Option<String>>),
    Bytes(Vec<Option<Vec<u8>>>),
    Vector(Vec<f32>),

The elements of an array or vector column, as GenericRecord::get_array gives them: an array of the element type, each element None where it is null, or a vector’s floats.

Variants

Boolean(Vec<Option<bool>>)

array(boolean)

Integer(Vec<Option<i32>>)

array(int)

Long(Vec<Option<i64>>)

array(long)

Ulong(Vec<Option<u64>>)

array(ulong)

Float(Vec<Option<f32>>)

array(float)

Double(Vec<Option<f64>>)

array(double)

String(Vec<Option<String>>)

array(string)

Bytes(Vec<Option<Vec<u8>>>)

array(bytes)

Vector(Vec<f32>)

vector(N)

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn eq(&self, other: &ArrayValue) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.