Package net.hydromatic.morel.compile
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 Summary
Fields Modifier and Type Field Description (package private) intinputCount(package private) com.google.common.collect.ImmutableSortedMap<String,CalciteCompiler.VarData>map(package private) @Nullable CalciteCompiler.RelContextparent(package private) org.apache.calcite.tools.RelBuilderrelBuilderprivate org.apache.calcite.rel.RelNodetop(package private) List<org.apache.calcite.rel.core.CorrelationId>varList-
Fields inherited from class net.hydromatic.morel.compile.Compiler.Context
env
-
-
Constructor Summary
Constructors Constructor Description RelContext(Environment env, CalciteCompiler.RelContext parent, org.apache.calcite.tools.RelBuilder relBuilder, com.google.common.collect.ImmutableSortedMap<String,CalciteCompiler.VarData> map, int inputCount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) CalciteCompiler.RelContextbindAll(Iterable<Binding> bindings)private static @Nullable org.apache.calcite.rel.RelNodetop(org.apache.calcite.tools.RelBuilder relBuilder)@Nullable org.apache.calcite.rex.RexNodevar(String name)Creates a correlation variable with which to reference the current row of a relation in an enclosing loop.-
Methods inherited from class net.hydromatic.morel.compile.Compiler.Context
of
-
-
-
-
Field Detail
-
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 Detail
-
RelContext
RelContext(Environment env, CalciteCompiler.RelContext parent, org.apache.calcite.tools.RelBuilder relBuilder, com.google.common.collect.ImmutableSortedMap<String,CalciteCompiler.VarData> map, int inputCount)
-
-
Method Detail
-
top
private static @Nullable org.apache.calcite.rel.RelNode top(org.apache.calcite.tools.RelBuilder relBuilder)
-
bindAll
CalciteCompiler.RelContext bindAll(Iterable<Binding> bindings)
- Overrides:
bindAllin classCompiler.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.
-
-