Uses of Class
org.apache.calcite.plan.RelOptRuleOperand
-
Packages that use RelOptRuleOperand Package Description org.apache.calcite.adapter.cassandra Cassandra query provider.org.apache.calcite.adapter.splunk Splunk query provider.org.apache.calcite.plan Defines interfaces for constructing rule-based optimizers of relational expressions.org.apache.calcite.plan.hep Provides a heuristic planner implementation for the interfaces inorg.apache.calcite.plan
.org.apache.calcite.plan.volcano Optimizes relational expressions.org.apache.calcite.rel.rules Provides a core set of planner rules. -
-
Uses of RelOptRuleOperand in org.apache.calcite.adapter.cassandra
Fields in org.apache.calcite.adapter.cassandra declared as RelOptRuleOperand Modifier and Type Field Description private static RelOptRuleOperand
CassandraRules.CassandraSortRule. CASSANDRA_OP
-
Uses of RelOptRuleOperand in org.apache.calcite.adapter.splunk
Constructors in org.apache.calcite.adapter.splunk with parameters of type RelOptRuleOperand Constructor Description SplunkPushDownRule(RelOptRuleOperand rule, java.lang.String id)
Deprecated.SplunkPushDownRule(RelOptRuleOperand rule, RelBuilderFactory relBuilderFactory, java.lang.String id)
Creates a SplunkPushDownRule. -
Uses of RelOptRuleOperand in org.apache.calcite.plan
Subclasses of RelOptRuleOperand in org.apache.calcite.plan Modifier and Type Class Description private static class
RelOptRule.ConverterRelOptRuleOperand
Operand to an instance of the converter rule.Fields in org.apache.calcite.plan declared as RelOptRuleOperand Modifier and Type Field Description private RelOptRuleOperand
RelOptRule. operand
Root of operand tree.protected RelOptRuleOperand
RelOptRuleCall. operand0
private RelOptRuleOperand
RelOptRuleOperand. parent
Fields in org.apache.calcite.plan with type parameters of type RelOptRuleOperand Modifier and Type Field Description private com.google.common.collect.ImmutableList<RelOptRuleOperand>
RelOptRuleOperand. children
java.util.List<RelOptRuleOperand>
RelOptRule. operands
Flattened list of operands.(package private) com.google.common.collect.ImmutableList<RelOptRuleOperand>
RelOptRuleOperandChildren. operands
Methods in org.apache.calcite.plan that return RelOptRuleOperand Modifier and Type Method Description RelOptRuleOperand
RelOptRule. getOperand()
Returns the root operand of this ruleRelOptRuleOperand
RelOptRuleCall. getOperand0()
Returns the root operand matched by this rule.RelOptRuleOperand
RelOptRuleOperand. getParent()
Returns the parent operand.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no children.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates an operand that matches a relational expression with a given list of children.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, com.google.common.base.Predicate<? super R> predicate, RelOptRuleOperandChildren operandList)
static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, com.google.common.base.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
Deprecated.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no children.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operandJ(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has a particular trait and predicate.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operandJ(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates an operand that matches a relational expression that has no children.Methods in org.apache.calcite.plan that return types with arguments of type RelOptRuleOperand Modifier and Type Method Description private java.util.List<RelOptRuleOperand>
RelOptRule. flattenOperands(RelOptRuleOperand rootOperand)
Creates a flattened list of this operand and its descendants in prefix order.java.util.List<RelOptRuleOperand>
RelOptRuleOperand. getChildOperands()
Returns the child operands.java.util.List<RelOptRuleOperand>
RelOptRule. getOperands()
Returns a flattened list of operands of this rule.Methods in org.apache.calcite.plan with parameters of type RelOptRuleOperand Modifier and Type Method Description private java.util.List<RelOptRuleOperand>
RelOptRule. flattenOperands(RelOptRuleOperand rootOperand)
Creates a flattened list of this operand and its descendants in prefix order.private void
RelOptRule. flattenRecurse(java.util.List<RelOptRuleOperand> operandList, RelOptRuleOperand parentOperand)
Adds the operand and its descendants to the list in prefix order.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates an operand that matches a relational expression with a given list of children.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operand(java.lang.Class<R> clazz, RelTrait trait, com.google.common.base.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
Deprecated.static <R extends RelNode>
RelOptRuleOperandRelOptRule. operandJ(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates an operand that matches a relational expression that has no children.void
RelOptRuleOperand. setParent(RelOptRuleOperand parent)
Sets the parent operand.static RelOptRuleOperandChildren
RelOptRule. some(RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates a list of child operands that matches child relational expressions in the order they appear.static RelOptRuleOperandChildren
RelOptRule. unordered(RelOptRuleOperand first, RelOptRuleOperand... rest)
Creates a list of child operands that matches child relational expressions in any order.Method parameters in org.apache.calcite.plan with type arguments of type RelOptRuleOperand Modifier and Type Method Description private void
RelOptRule. flattenRecurse(java.util.List<RelOptRuleOperand> operandList, RelOptRuleOperand parentOperand)
Adds the operand and its descendants to the list in prefix order.Constructors in org.apache.calcite.plan with parameters of type RelOptRuleOperand Constructor Description CommonRelSubExprRule(RelOptRuleOperand operand)
Creates aCommonRelSubExprRule
.RelOptRule(RelOptRuleOperand operand)
Creates a rule.RelOptRule(RelOptRuleOperand operand, java.lang.String description)
Creates a rule with an explicit description.RelOptRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a rule with an explicit description.RelOptRuleCall(RelOptPlanner planner, RelOptRuleOperand operand, RelNode[] rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
RelOptRuleCall(RelOptPlanner planner, RelOptRuleOperand operand, RelNode[] rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs, java.util.List<RelNode> parents)
Creates a RelOptRuleCall.Constructor parameters in org.apache.calcite.plan with type arguments of type RelOptRuleOperand Constructor Description RelOptRuleOperand(java.lang.Class<R> clazz, RelTrait trait, java.util.function.Predicate<? super R> predicate, RelOptRuleOperandChildPolicy childPolicy, com.google.common.collect.ImmutableList<RelOptRuleOperand> children)
Private constructor.RelOptRuleOperandChildren(RelOptRuleOperandChildPolicy policy, java.util.List<RelOptRuleOperand> operands)
-
Uses of RelOptRuleOperand in org.apache.calcite.plan.hep
Methods in org.apache.calcite.plan.hep with parameters of type RelOptRuleOperand Modifier and Type Method Description private boolean
HepPlanner. matchOperands(RelOptRuleOperand operand, RelNode rel, java.util.List<RelNode> bindings, java.util.Map<RelNode,java.util.List<RelNode>> nodeChildren)
Constructors in org.apache.calcite.plan.hep with parameters of type RelOptRuleOperand Constructor Description HepRuleCall(RelOptPlanner planner, RelOptRuleOperand operand, RelNode[] rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeChildren, java.util.List<RelNode> parents)
-
Uses of RelOptRuleOperand in org.apache.calcite.plan.volcano
Fields in org.apache.calcite.plan.volcano with type parameters of type RelOptRuleOperand Modifier and Type Field Description private com.google.common.collect.Multimap<java.lang.Class<? extends RelNode>,RelOptRuleOperand>
VolcanoPlanner. classOperands
Operands that apply to a given class ofRelNode
.Methods in org.apache.calcite.plan.volcano with parameters of type RelOptRuleOperand Modifier and Type Method Description private void
RuleQueue. checkDuplicateSubsets(java.util.Deque<RelSubset> subsets, RelOptRuleOperand operand, RelNode[] rels)
Recursively checks whether there are any duplicate subsets along any path from root of the operand tree to one of the leaves.Constructors in org.apache.calcite.plan.volcano with parameters of type RelOptRuleOperand Constructor Description DeferringRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand)
VolcanoRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand)
Creates a rule call.VolcanoRuleCall(VolcanoPlanner planner, RelOptRuleOperand operand, RelNode[] rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
Creates a rule call, internal, with array to hold bindings.VolcanoRuleMatch(VolcanoPlanner volcanoPlanner, RelOptRuleOperand operand0, RelNode[] rels, java.util.Map<RelNode,java.util.List<RelNode>> nodeInputs)
Creates aVolcanoRuleMatch
. -
Uses of RelOptRuleOperand in org.apache.calcite.rel.rules
Constructors in org.apache.calcite.rel.rules with parameters of type RelOptRuleOperand Constructor Description AbstractJoinExtractFilterRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates an AbstractJoinExtractFilterRule.AbstractMaterializedViewRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
Creates a AbstractMaterializedViewRule.AggregateExtractProjectRule(RelOptRuleOperand operand, RelBuilderFactory builderFactory)
AggregateFilterTransposeRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory)
Creates an AggregateFilterTransposeRule.AggregateReduceFunctionsRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory)
Creates an AggregateReduceFunctionsRule.AggregateStarTableRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates an AggregateStarTableRule.FilterAggregateTransposeRule(RelOptRuleOperand operand, RelBuilderFactory builderFactory)
FilterJoinRule(RelOptRuleOperand operand, java.lang.String id, boolean smart, RelFactories.FilterFactory filterFactory, RelFactories.ProjectFactory projectFactory)
Deprecated.FilterJoinRule(RelOptRuleOperand operand, java.lang.String id, boolean smart, RelFactories.FilterFactory filterFactory, RelFactories.ProjectFactory projectFactory, FilterJoinRule.Predicate predicate)
Deprecated.FilterJoinRule(RelOptRuleOperand operand, java.lang.String id, boolean smart, RelBuilderFactory relBuilderFactory, FilterJoinRule.Predicate predicate)
Creates a FilterProjectTransposeRule with an explicit root operand and factories.FilterProjectTransposeRule(RelOptRuleOperand operand, boolean copyFilter, boolean copyProject, RelBuilderFactory relBuilderFactory)
FilterTableScanRule(RelOptRuleOperand operand, java.lang.String description)
Deprecated.FilterTableScanRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a FilterTableScanRule.JoinProjectTransposeRule(RelOptRuleOperand operand, java.lang.String description)
Creates a JoinProjectTransposeRule with default factory.JoinProjectTransposeRule(RelOptRuleOperand operand, java.lang.String description, boolean includeOuter, RelFactories.ProjectFactory projectFactory)
Deprecated.JoinProjectTransposeRule(RelOptRuleOperand operand, java.lang.String description, boolean includeOuter, RelBuilderFactory relBuilderFactory)
Creates a JoinProjectTransposeRule.JoinProjectTransposeRule(RelOptRuleOperand operand, java.lang.String description, RelFactories.ProjectFactory projectFactory)
Deprecated.JoinUnionTransposeRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a JoinUnionTransposeRule.MaterializedViewAggregateRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram)
Creates a MaterializedViewAggregateRule.MaterializedViewJoinRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description, boolean generateUnionRewriting, HepProgram unionRewritingPullProgram, boolean fastBailOut)
Creates a MaterializedViewJoinRule.MultiJoinProjectTransposeRule(RelOptRuleOperand operand, java.lang.String description)
Deprecated.MultiJoinProjectTransposeRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a MultiJoinProjectTransposeRule.ProjectFilterTransposeRule(RelOptRuleOperand operand, PushProjector.ExprCondition preserveExprCondition, RelBuilderFactory relBuilderFactory)
ProjectSortTransposeRule(RelOptRuleOperand operand)
Deprecated.ProjectSortTransposeRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a ProjectSortTransposeRule with an operand.ProjectTableScanRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a ProjectTableScanRule.ProjectToWindowRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a ProjectToWindowRule.SortProjectTransposeRule(RelOptRuleOperand operand)
Deprecated.SortProjectTransposeRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a SortProjectTransposeRule with an operand.SubQueryRemoveRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
Creates a SubQueryRemoveRule.ValuesReduceRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String desc)
Creates a ValuesReduceRule.
-