Class CalciteCompiler.RelContext

java.lang.Object
net.hydromatic.morel.compile.Compiler.Context
net.hydromatic.morel.compile.CalciteCompiler.RelContext
Enclosing class:
CalciteCompiler

static class CalciteCompiler.RelContext extends Compiler.Context
Translation context.
  • Field Details

    • parent

      final @Nullable CalciteCompiler.RelContext parent
    • relBuilder

      final org.apache.calcite.tools.RelBuilder relBuilder
    • map

      final com.google.common.collect.ImmutableSortedMap<String,CalciteCompiler.VarData> map
    • inputCount

      final int inputCount
    • varList

      final List<org.apache.calcite.rel.core.CorrelationId> varList
    • top

      private final org.apache.calcite.rel.RelNode top
  • Constructor Details

  • Method Details

    • top

      private static @Nullable org.apache.calcite.rel.RelNode top(org.apache.calcite.tools.RelBuilder relBuilder)
    • bindAll

      Overrides:
      bindAll in class Compiler.Context
    • var

      public @Nullable org.apache.calcite.rex.RexNode var(String name)
      Creates a correlation variable with which to reference the current row of a relation in an enclosing loop.