Uses of Class
org.apache.calcite.rex.RexLocalRef
-
Packages that use RexLocalRef Package Description org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.rex Provides a language for representing row-expressions. -
-
Uses of RexLocalRef in org.apache.calcite.rel.rules
Methods in org.apache.calcite.rel.rules with parameters of type RexLocalRef Modifier and Type Method Description java.lang.Void
CalcRelSplitter.HighestUsageFinder. visitLocalRef(RexLocalRef ref)
RexNode
CalcRelSplitter.InputToCommonExprConverter. visitLocalRef(RexLocalRef local)
java.lang.Void
CalcRelSplitter.MaxInputFinder. visitLocalRef(RexLocalRef localRef)
-
Uses of RexLocalRef in org.apache.calcite.rex
Fields in org.apache.calcite.rex declared as RexLocalRef Modifier and Type Field Description private RexLocalRef
RexProgram. condition
The optional condition.private RexLocalRef
RexProgramBuilder. conditionRef
Fields in org.apache.calcite.rex with type parameters of type RexLocalRef Modifier and Type Field Description private java.util.Map<Pair<RexNode,java.lang.String>,RexLocalRef>
RexProgramBuilder. exprMap
private java.util.List<RexLocalRef>
RexProgramBuilder. localRefList
private java.util.List<RexLocalRef>
RexProgramBuilder.UpdateRefShuttle. newRefs
private java.util.List<RexLocalRef>
RexProgramBuilder. projectRefList
private java.util.List<RexLocalRef>
RexProgram. projects
WithRexProgram.condition
, the second stage of expression evaluation.Methods in org.apache.calcite.rex that return RexLocalRef Modifier and Type Method Description RexLocalRef
RexProgramBuilder. addExpr(RexNode expr)
Adds an expression to the list of common expressions, and returns a reference to the expression.RexLocalRef
RexProgramBuilder. addProject(int at, int ordinal, java.lang.String name)
Adds a projection based upon theindex
th expression at a given position.RexLocalRef
RexProgramBuilder. addProject(int ordinal, java.lang.String name)
Adds a projection based upon theindex
th expression.RexLocalRef
RexProgramBuilder. addProject(int at, RexNode expr, java.lang.String name)
Adds a project expression to the program at a given position.RexLocalRef
RexProgramBuilder. addProject(RexNode expr, java.lang.String name)
Adds a project expression to the program.RexLocalRef
RexProgram. getCondition()
Returns the field reference of this program's filter condition, or null if there is no condition.RexLocalRef
RexProgramBuilder. makeInputRef(int index)
Creates a reference to a given input field.RexLocalRef
RexProgramBuilder. registerInput(RexNode expr)
Registers an expression in the list of common sub-expressions, and returns a reference to that expression.private RexLocalRef
RexProgramBuilder. registerInternal(RexNode expr, boolean force)
Registers an expression in the list of common sub-expressions, and returns a reference to that expression.RexLocalRef
RexProgramBuilder. registerOutput(RexNode expr)
Converts an expression expressed in terms of the outputs of this program into an expression expressed in terms of the inputs, registers it in the list of common sub-expressions, and returns a reference to that expression.Methods in org.apache.calcite.rex that return types with arguments of type RexLocalRef Modifier and Type Method Description java.util.List<Pair<RexLocalRef,java.lang.String>>
RexProgram. getNamedProjects()
Returns a list of project expressions and their field names.java.util.List<RexLocalRef>
RexProgram. getProjectList()
Returns an array of references to the expressions which this program is to project.java.util.List<RexLocalRef>
RexProgramBuilder. getProjectList()
Returns the list of project expressions.private java.util.List<RexLocalRef>
RexProgramBuilder. registerProjectsAndCondition(RexProgram program)
Methods in org.apache.calcite.rex with parameters of type RexLocalRef Modifier and Type Method Description private void
RexProgramBuilder. add(java.util.List<RexNode> exprList, java.util.List<RexLocalRef> projectRefList, RexLocalRef conditionRef, RelDataType outputRowType, RexShuttle shuttle, boolean updateRefs)
Adds a set of expressions, projections and filters, applying a shuttle first.static RexProgramBuilder
RexProgramBuilder. create(RexBuilder rexBuilder, RelDataType inputRowType, java.util.List<RexNode> exprList, java.util.List<RexLocalRef> projectRefList, RexLocalRef conditionRef, RelDataType outputRowType, RexShuttle shuttle, boolean updateRefs)
Creates a program builder with the same contents as a program, applying a shuttle first.RexNode
RexProgram. expandLocalRef(RexLocalRef ref)
Fully expands a RexLocalRef back into a pure RexNode tree containing no RexLocalRefs (reversing the effect of common subexpression elimination).RelOptUtil.Logic
LogicVisitor. visitLocalRef(RexLocalRef localRef, RelOptUtil.Logic arg)
R
RexBiVisitor. visitLocalRef(RexLocalRef localRef, P arg)
java.lang.Boolean
RexChecker. visitLocalRef(RexLocalRef ref)
RexNode
RexCopier. visitLocalRef(RexLocalRef localRef)
java.lang.Comparable
RexInterpreter. visitLocalRef(RexLocalRef localRef)
RexNode
RexPermutationShuttle. visitLocalRef(RexLocalRef local)
java.lang.Boolean
RexProgram.Checker. visitLocalRef(RexLocalRef localRef)
OverridesRexChecker
method, becauseRexLocalRef
is is illegal in most rex expressions, but legal in a program.java.lang.Boolean
RexProgram.ConstantFinder. visitLocalRef(RexLocalRef localRef)
RexNode
RexProgram.ExpansionShuttle. visitLocalRef(RexLocalRef localRef)
RexNode
RexProgram.Marshaller. visitLocalRef(RexLocalRef localRef)
java.lang.Void
RexProgram.ReferenceCounter. visitLocalRef(RexLocalRef localRef)
RexNode
RexProgramBuilder.RegisterInputShuttle. visitLocalRef(RexLocalRef local)
RexNode
RexProgramBuilder.RegisterMidputShuttle. visitLocalRef(RexLocalRef local)
RexNode
RexProgramBuilder.RegisterOutputShuttle. visitLocalRef(RexLocalRef local)
RexNode
RexProgramBuilder.UpdateRefShuttle. visitLocalRef(RexLocalRef localRef)
RexNode
RexShuttle. visitLocalRef(RexLocalRef localRef)
java.lang.Boolean
RexSimplify.SafeRexVisitor. visitLocalRef(RexLocalRef localRef)
java.lang.Boolean
RexUtil.ConstantFinder. visitLocalRef(RexLocalRef localRef)
java.lang.Void
RexUtil.ForwardRefFinder. visitLocalRef(RexLocalRef inputRef)
R
RexVisitor. visitLocalRef(RexLocalRef localRef)
R
RexVisitorImpl. visitLocalRef(RexLocalRef localRef)
Method parameters in org.apache.calcite.rex with type arguments of type RexLocalRef Modifier and Type Method Description private static int
RexProgram. countTrivial(java.util.List<RexLocalRef> refs)
Returns the number of expressions at the front of an array which are simply projections of the same field.Constructors in org.apache.calcite.rex with parameters of type RexLocalRef Constructor Description RexProgram(RelDataType inputRowType, java.util.List<? extends RexNode> exprs, java.util.List<RexLocalRef> projects, RexLocalRef condition, RelDataType outputRowType)
Creates a program.Constructor parameters in org.apache.calcite.rex with type arguments of type RexLocalRef Constructor Description UpdateRefShuttle(java.util.List<RexLocalRef> newRefs)
-