| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| Modifier and Type | Field and Description |
|---|---|
List<RelOptRuleOperand> |
RelOptRule.operands
Flattened list of operands.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptRuleOperand |
RelOptRule.getOperand()
Returns the root operand of this rule
|
RelOptRuleOperand |
RelOptRuleCall.getOperand0()
Returns the root operand matched by this rule.
|
RelOptRuleOperand |
RelOptRuleOperand.getParent()
Returns the parent operand.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no
children.
|
static <R extends RelNode> |
RelOptRule.operand(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> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.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> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.Predicate<? super R> predicate,
RelOptRuleOperand first,
RelOptRuleOperand... rest)
Creates an operand that matches a relational expression that has no
children.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
RelOptRuleOperandChildren operandList)
Creates an operand that matches a relational expression that has no
children.
|
| Modifier and Type | Method and Description |
|---|---|
List<RelOptRuleOperand> |
RelOptRuleOperand.getChildOperands()
Returns the child operands.
|
List<RelOptRuleOperand> |
RelOptRule.getOperands()
Returns a flattened list of operands of this rule.
|
| Modifier and Type | Method and Description |
|---|---|
static <R extends RelNode> |
RelOptRule.operand(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> |
RelOptRule.operand(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> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.Predicate<? super R> predicate,
RelOptRuleOperand first,
RelOptRuleOperand... rest)
Creates an operand that matches a relational expression that has no
children.
|
static <R extends RelNode> |
RelOptRule.operand(Class<R> clazz,
RelTrait trait,
com.google.common.base.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.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.
|
static RelOptRuleOperandChildren |
RelOptRule.unordered(RelOptRuleOperand first,
RelOptRuleOperand... rest)
Creates a list of child operands that matches child relational
expressions in any order.
|
| Constructor and Description |
|---|
CommonRelSubExprRule(RelOptRuleOperand operand)
Creates a
CommonRelSubExprRule. |
RelOptRule(RelOptRuleOperand operand)
Creates a rule.
|
RelOptRule(RelOptRuleOperand operand,
String description)
Creates a rule with an explicit description.
|
RelOptRuleCall(RelOptPlanner planner,
RelOptRuleOperand operand,
RelNode[] rels,
Map<RelNode,List<RelNode>> nodeInputs) |
RelOptRuleCall(RelOptPlanner planner,
RelOptRuleOperand operand,
RelNode[] rels,
Map<RelNode,List<RelNode>> nodeInputs,
List<RelNode> parents)
Creates a RelOptRuleCall.
|
| Constructor and Description |
|---|
RelOptRuleOperandChildren(RelOptRuleOperandChildPolicy policy,
com.google.common.collect.ImmutableList<RelOptRuleOperand> operands) |
| Constructor and Description |
|---|
VolcanoRuleCall(VolcanoPlanner planner,
RelOptRuleOperand operand,
RelNode[] rels)
Creates a rule call, internal, with array to hold bindings.
|
| Constructor and Description |
|---|
AggregateReduceFunctionsRule(RelOptRuleOperand operand) |
FilterJoinRule(RelOptRuleOperand operand,
String id,
boolean smart,
RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory)
Creates a FilterJoinRule with an explicit root operand and
factories.
|
FilterJoinRule(RelOptRuleOperand operand,
String id,
boolean smart,
RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory,
FilterJoinRule.Predicate predicate)
Creates a FilterProjectTransposeRule with an explicit root operand and
factories.
|
FilterTableScanRule(RelOptRuleOperand operand,
String description)
Creates a FilterTableRule.
|
JoinProjectTransposeRule(RelOptRuleOperand operand,
String description) |
JoinProjectTransposeRule(RelOptRuleOperand operand,
String description,
RelFactories.ProjectFactory pFactory) |
MultiJoinProjectTransposeRule(RelOptRuleOperand operand,
String description) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.