Calcite - Stack

Card Puncher Data Processing

About

The stack is the structure used in calcite to store a relational expression.

Method

Doc

  • build() - Pops the most recently created relational expression off the stack. See relational expression creation
  • push(rel) -Pushes a relational expression onto the stack. Relational methods such as scan, above, call this method, but user code generally does not
  • pushAll(collection) - Pushes a collection of relational expressions onto the stack
  • peek() - Returns the relational expression most recently put onto the stack, but does not remove it





Discover More
Card Puncher Data Processing
Calcite - (Row|Scalar) Expression (RexNode)

Expression that return a scalar (ie one value). Many of them returns data from the stack (the complete relational expression). They implements RexNode...
Card Puncher Data Processing
Calcite - Relational Expression (RelNode, Algebra)

Relational Algebra in Calcite A relational expression is represented by a tree of RelNode. A RelNode can be considered as the same logic than the Spark dataframe. TableScan Project Filter...



Share this page:
Follow us:
Task Runner