Uses of Class
org.apache.calcite.rex.RexTableInputRef
-
Packages that use RexTableInputRef 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 RexTableInputRef in org.apache.calcite.rel.rules
Fields in org.apache.calcite.rel.rules with type parameters of type RexTableInputRef Modifier and Type Field Description private java.util.List<java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. cacheEquivalenceClasses
private java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. cacheEquivalenceClassesMap
private java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. cacheEquivalenceClassesMap
(package private) com.google.common.collect.Multimap<RexTableInputRef,RexTableInputRef>
AbstractMaterializedViewRule.Edge. equiColumns
(package private) com.google.common.collect.Multimap<RexTableInputRef,RexTableInputRef>
AbstractMaterializedViewRule.Edge. equiColumns
private java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. nodeToEquivalenceClass
private java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. nodeToEquivalenceClass
Methods in org.apache.calcite.rel.rules that return types with arguments of type RexTableInputRef Modifier and Type Method Description protected java.util.List<java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. getEquivalenceClasses()
protected java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. getEquivalenceClassesMap()
protected java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>>
AbstractMaterializedViewRule.EquivalenceClasses. getEquivalenceClassesMap()
Methods in org.apache.calcite.rel.rules with parameters of type RexTableInputRef Modifier and Type Method Description protected void
AbstractMaterializedViewRule.EquivalenceClasses. addEquivalenceClass(RexTableInputRef p1, RexTableInputRef p2)
Method parameters in org.apache.calcite.rel.rules with type arguments of type RexTableInputRef Modifier and Type Method Description private static boolean
AbstractMaterializedViewRule. compensatePartial(java.util.Set<RexTableInputRef.RelTableRef> sourceTableRefs, AbstractMaterializedViewRule.EquivalenceClasses sourceEC, java.util.Set<RexTableInputRef.RelTableRef> targetTableRefs, com.google.common.collect.Multimap<RexTableInputRef,RexTableInputRef> compensationEquiColumns)
It checks whether the target can be rewritten using the source even though the source uses additional tables.private static boolean
AbstractMaterializedViewRule. compensatePartial(java.util.Set<RexTableInputRef.RelTableRef> sourceTableRefs, AbstractMaterializedViewRule.EquivalenceClasses sourceEC, java.util.Set<RexTableInputRef.RelTableRef> targetTableRefs, com.google.common.collect.Multimap<RexTableInputRef,RexTableInputRef> compensationEquiColumns)
It checks whether the target can be rewritten using the source even though the source uses additional tables.private static com.google.common.collect.Multimap<java.lang.Integer,java.lang.Integer>
AbstractMaterializedViewRule. extractPossibleMapping(java.util.List<java.util.Set<RexTableInputRef>> sourceEquivalenceClasses, java.util.List<java.util.Set<RexTableInputRef>> targetEquivalenceClasses)
Given the source and target equivalence classes, it extracts the possible mappings from each source equivalence class to each target equivalence class. -
Uses of RexTableInputRef in org.apache.calcite.rex
Methods in org.apache.calcite.rex that return RexTableInputRef Modifier and Type Method Description static RexTableInputRef
RexUtil. containsTableInputRef(RexNode node)
Returns whether a given tree contains any {link RexTableInputRef} nodes.static RexTableInputRef
RexTableInputRef. of(RexTableInputRef.RelTableRef tableRef, int index, RelDataType type)
static RexTableInputRef
RexTableInputRef. of(RexTableInputRef.RelTableRef tableRef, RexInputRef ref)
Methods in org.apache.calcite.rex with parameters of type RexTableInputRef Modifier and Type Method Description RelOptUtil.Logic
LogicVisitor. visitTableInputRef(RexTableInputRef ref, RelOptUtil.Logic arg)
R
RexBiVisitor. visitTableInputRef(RexTableInputRef ref, P arg)
java.lang.Comparable
RexInterpreter. visitTableInputRef(RexTableInputRef fieldRef)
RexNode
RexShuttle. visitTableInputRef(RexTableInputRef ref)
java.lang.Boolean
RexSimplify.SafeRexVisitor. visitTableInputRef(RexTableInputRef fieldRef)
java.lang.Boolean
RexUtil.ConstantFinder. visitTableInputRef(RexTableInputRef ref)
R
RexVisitor. visitTableInputRef(RexTableInputRef fieldRef)
R
RexVisitorImpl. visitTableInputRef(RexTableInputRef ref)
Method parameters in org.apache.calcite.rex with type arguments of type RexTableInputRef Modifier and Type Method Description static RexNode
RexUtil. swapColumnReferences(RexBuilder rexBuilder, RexNode node, java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>> ec)
Given an expression, it will swap its column referencesRexTableInputRef
using the contents in the map (in particular, the first element of the set in the map value).static RexNode
RexUtil. swapColumnReferences(RexBuilder rexBuilder, RexNode node, java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>> ec)
Given an expression, it will swap its column referencesRexTableInputRef
using the contents in the map (in particular, the first element of the set in the map value).static RexNode
RexUtil. swapColumnTableReferences(RexBuilder rexBuilder, RexNode node, java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>> ec, java.util.Map<RexTableInputRef.RelTableRef,RexTableInputRef.RelTableRef> tableMapping)
Given an expression, it will swap the column referencesRexTableInputRef
using the contents in the first map (in particular, the first element of the set in the map value), and then it will swap the table references contained in itsRexTableInputRef
using the contents in the second map.static RexNode
RexUtil. swapColumnTableReferences(RexBuilder rexBuilder, RexNode node, java.util.Map<RexTableInputRef,java.util.Set<RexTableInputRef>> ec, java.util.Map<RexTableInputRef.RelTableRef,RexTableInputRef.RelTableRef> tableMapping)
Given an expression, it will swap the column referencesRexTableInputRef
using the contents in the first map (in particular, the first element of the set in the map value), and then it will swap the table references contained in itsRexTableInputRef
using the contents in the second map.
-