pub struct RefRelation {
pub schema: Vec<ScalarType>,
pub rows: Vec<Vec<RefValue>>,
}Expand description
A relation: schema (column types) + rows (lists of typed values).
Tests build these directly. PR 4+ may add construction from
xlog-cuda buffers or Arrow batches.
Fields§
§schema: Vec<ScalarType>One [ScalarType] per column.
rows: Vec<Vec<RefValue>>Rows; each inner vec has length schema.len(). Values may
be of any RefValue variant in PR 2 (the evaluator does
not enforce schema/value type agreement at construction —
only at match time).
Trait Implementations§
Source§impl Clone for RefRelation
impl Clone for RefRelation
Source§fn clone(&self) -> RefRelation
fn clone(&self) -> RefRelation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefRelation
impl Debug for RefRelation
Source§impl PartialEq for RefRelation
impl PartialEq for RefRelation
impl StructuralPartialEq for RefRelation
Auto Trait Implementations§
impl Freeze for RefRelation
impl RefUnwindSafe for RefRelation
impl Send for RefRelation
impl Sync for RefRelation
impl Unpin for RefRelation
impl UnsafeUnpin for RefRelation
impl UnwindSafe for RefRelation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more