MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / get

Method get

src/sql/src/plan/lowering.rs:81–87  ·  view source on GitHub ↗
(&self, col_ref: &ColumnRef)

Source from the content-addressed store, hash-verified

79 }
80
81 fn get(&self, col_ref: &ColumnRef) -> usize {
82 if col_ref.level == 0 {
83 self.inner.len() + col_ref.column
84 } else {
85 self.inner[col_ref]
86 }
87 }
88
89 fn len(&self) -> usize {
90 self.inner.len()

Callers 15

get_castFunction · 0.45
fuse_window_functionsFunction · 0.45
extract_sef_callFunction · 0.45
applied_toMethod · 0.45
branchFunction · 0.45
plan_insert_queryFunction · 0.45
plan_copy_itemFunction · 0.45
plan_copy_from_rowsFunction · 0.45
plan_select_from_whereFunction · 0.45
plan_table_aliasFunction · 0.45
inventFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected