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
Translation context.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final com.google.common.collect.ImmutableSortedMap<String, CalciteCompiler.VarData> (package private) final @Nullable CalciteCompiler.RelContext(package private) final org.apache.calcite.tools.RelBuilderprivate final org.apache.calcite.rel.RelNode(package private) final List<org.apache.calcite.rel.core.CorrelationId> Fields inherited from class net.hydromatic.morel.compile.Compiler.Context
env -
Constructor Summary
ConstructorsConstructorDescriptionRelContext(Environment env, CalciteCompiler.RelContext parent, org.apache.calcite.tools.RelBuilder relBuilder, com.google.common.collect.ImmutableSortedMap<String, CalciteCompiler.VarData> map, int inputCount) -
Method Summary
Modifier and TypeMethodDescription(package private) CalciteCompiler.RelContextprivate static @Nullable org.apache.calcite.rel.RelNodetop(org.apache.calcite.tools.RelBuilder relBuilder) @Nullable org.apache.calcite.rex.RexNodeCreates 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 Details
-
parent
-
relBuilder
final org.apache.calcite.tools.RelBuilder relBuilder -
map
-
inputCount
final int inputCount -
varList
-
top
private final org.apache.calcite.rel.RelNode top
-
-
Constructor Details
-
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 Details
-
top
private static @Nullable org.apache.calcite.rel.RelNode top(org.apache.calcite.tools.RelBuilder relBuilder) -
bindAll
- Overrides:
bindAllin classCompiler.Context
-
var
Creates a correlation variable with which to reference the current row of a relation in an enclosing loop.
-