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

Method column

src/expr/src/interpret.rs:509–515  ·  view source on GitHub ↗
(&self, id: usize)

Source from the content-addressed store, hash-verified

507 type Summary = E::Summary;
508
509 fn column(&self, id: usize) -> Self::Summary {
510 if id < self.input_arity {
511 self.evaluator.column(id)
512 } else {
513 self.expressions[id - self.input_arity].clone()
514 }
515 }
516
517 fn literal(&self, result: &Result<Row, EvalError>, col_type: &ReprColumnType) -> Self::Summary {
518 self.evaluator.literal(result, col_type)

Callers 1

exprMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected