pub type ResultRow = BTreeMap<String, Value>;Aliased Type§
pub struct ResultRow { /* private fields */ }Trait Implementations§
Source§impl RowLookup for ResultRow
impl RowLookup for ResultRow
fn column(&self, name: &str) -> Option<&Value>
fn qualified_column(&self, _qualifier: &str, _column: &str) -> Option<&Value>
Source§fn visit_columns(&self, visitor: &mut dyn FnMut(&str, &Value))
fn visit_columns(&self, visitor: &mut dyn FnMut(&str, &Value))
Visit every logical column in schema order. Named rows use their map
order; positional execution rows override this without materializing a
map. The default keeps narrow projected lookup implementations source
compatible when they deliberately do not expose whole-row semantics.
Source§fn column_is_ambiguous(&self, _name: &str) -> bool
fn column_is_ambiguous(&self, _name: &str) -> bool
Whether an unqualified name identifies more than one visible input
column. Callers must report SQLSTATE 42702 instead of selecting an
arbitrary suffix match.
Source§fn qualified_column_is_ambiguous(&self, _qualifier: &str, _column: &str) -> bool
fn qualified_column_is_ambiguous(&self, _qualifier: &str, _column: &str) -> bool
Whether a qualified identity names more than one visible input column.
Source§fn positional_column(&self, _index: usize) -> Option<&Value>
fn positional_column(&self, _index: usize) -> Option<&Value>
Return a value by the physical schema position used to construct this
row view. Materialized named rows do not expose positional access;
projected execution sources override it so compiled hot paths can avoid
repeating string lookup for every expression and row.
Source§fn resolution_schema(&self) -> Option<&RowSchema>
fn resolution_schema(&self) -> Option<&RowSchema>
The schema whose name resolution
column and qualified_column apply. A lookup returning it resolves names to keys with column_key and qualified_column_key and reads them with keyed_value, so column(name) equals column_key(name).and_then(|key| keyed_value(key)); the default disables key retention.Source§fn key_space(&self) -> RowKeySpace
fn key_space(&self) -> RowKeySpace
The space the keys of
column_key and qualified_column_key address. A key retained for one space is never read through a lookup of another.Source§fn column_key(&self, _name: &str) -> Option<usize>
fn column_key(&self, _name: &str) -> Option<usize>
The key
column reads name through under resolution_schema; None is a name the row does not carry.Source§fn qualified_column_key(&self, _qualifier: &str, _column: &str) -> Option<usize>
fn qualified_column_key(&self, _qualifier: &str, _column: &str) -> Option<usize>
The key
qualified_column reads qualifier.column through under resolution_schema.Source§fn keyed_value(&self, _key: usize) -> Option<&Value>
fn keyed_value(&self, _key: usize) -> Option<&Value>
The value at a key
column_key or qualified_column_key produced; None for an absent or NULL value.Source§fn internal_column(&self, _column: InternalColumnRef) -> Option<&Value>
fn internal_column(&self, _column: InternalColumnRef) -> Option<&Value>
Resolve an executor-only relation attribute. Materialized SQL rows do
not expose these structural slots.