Skip to main content

ArrayRef

Type Alias ArrayRef 

Source
pub type ArrayRef = Arc<dyn Array>;
Expand description

A shared, immutable, dynamically typed column.

This is the unit of sharing everywhere in AstRS: a record batch column, a list’s child, a struct’s field. Cloning is one atomic increment.

Aliased Type§

pub struct ArrayRef { /* private fields */ }

Trait Implementations§

Source§

impl ArrayExt for ArrayRef

Source§

fn downcast<A: Array>(&self) -> Option<&A>

Downcasts to a concrete array type, or None on a type mismatch.
Source§

fn try_downcast<A: Array>(&self) -> Result<&A>

Downcasts to a concrete array type. Read more
Source§

impl PartialEq<dyn Array> for ArrayRef

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more