Uses of Class
org.apache.calcite.plan.RelOptRuleCall
-
Packages that use RelOptRuleCall Package Description org.apache.calcite.adapter.cassandra Cassandra query provider.org.apache.calcite.adapter.csv Calcite query provider that reads from CSV (comma-separated value) files.org.apache.calcite.adapter.druid Query provider based on a Druid database.org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.org.apache.calcite.adapter.geode.rel Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.apache.calcite.adapter.splunk Splunk query provider.org.apache.calcite.interpreter Provides an implementation of relational expressions using an interpreter.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.convert Defines relational expressions and rules for converting between calling conventions.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.rel.stream Defines relational expressions for streaming.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression. -
-
Uses of RelOptRuleCall in org.apache.calcite.adapter.cassandra
Methods in org.apache.calcite.adapter.cassandra with parameters of type RelOptRuleCall Modifier and Type Method Description boolean
CassandraRules.CassandraFilterRule. matches(RelOptRuleCall call)
boolean
CassandraRules.CassandraProjectRule. matches(RelOptRuleCall call)
boolean
CassandraRules.CassandraSortRule. matches(RelOptRuleCall call)
void
CassandraRules.CassandraFilterRule. onMatch(RelOptRuleCall call)
void
CassandraRules.CassandraLimitRule. onMatch(RelOptRuleCall call)
void
CassandraRules.CassandraSortRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.adapter.csv
Methods in org.apache.calcite.adapter.csv with parameters of type RelOptRuleCall Modifier and Type Method Description void
CsvProjectTableScanRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.adapter.druid
Methods in org.apache.calcite.adapter.druid with parameters of type RelOptRuleCall Modifier and Type Method Description void
DruidRules.DruidAggregateProjectRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidAggregateRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidFilterRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidHavingFilterRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidPostAggregationProjectRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidProjectRule. onMatch(RelOptRuleCall call)
void
DruidRules.DruidSortRule. onMatch(RelOptRuleCall call)
private DruidQuery
DruidRules.DruidAggregateProjectRule. optimizeFilteredAggregations(RelOptRuleCall call, DruidQuery query, Project project, Aggregate aggregate)
Attempts to optimize any aggregations with filters in the DruidQuery. -
Uses of RelOptRuleCall in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type RelOptRuleCall Modifier and Type Method Description void
EnumerableFilterToCalcRule. onMatch(RelOptRuleCall call)
void
EnumerableLimitRule. onMatch(RelOptRuleCall call)
void
EnumerableProjectToCalcRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.adapter.geode.rel
Methods in org.apache.calcite.adapter.geode.rel with parameters of type RelOptRuleCall Modifier and Type Method Description boolean
GeodeRules.GeodeFilterRule. matches(RelOptRuleCall call)
boolean
GeodeRules.GeodeProjectRule. matches(RelOptRuleCall call)
void
GeodeRules.GeodeFilterRule. onMatch(RelOptRuleCall call)
void
GeodeRules.GeodeSortLimitRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.adapter.splunk
Methods in org.apache.calcite.adapter.splunk with parameters of type RelOptRuleCall Modifier and Type Method Description void
SplunkPushDownRule. onMatch(RelOptRuleCall call)
protected void
SplunkPushDownRule. transformToFarragoUdxRel(RelOptRuleCall call, SplunkTableScan splunkRel, LogicalFilter filter, LogicalProject topProj, LogicalProject bottomProj)
-
Uses of RelOptRuleCall in org.apache.calcite.interpreter
Methods in org.apache.calcite.interpreter with parameters of type RelOptRuleCall Modifier and Type Method Description void
Bindables.BindableTableScanRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.plan
Fields in org.apache.calcite.plan declared as RelOptRuleCall Modifier and Type Field Description private RelOptRuleCall
RelOptListener.RuleEvent. ruleCall
Methods in org.apache.calcite.plan that return RelOptRuleCall Modifier and Type Method Description RelOptRuleCall
RelOptListener.RuleEvent. getRuleCall()
Methods in org.apache.calcite.plan with parameters of type RelOptRuleCall Modifier and Type Method Description protected void
AbstractRelOptPlanner. fireRule(RelOptRuleCall ruleCall)
Fires a rule, taking care of tracing and listener notification.boolean
RelOptRule. matches(RelOptRuleCall call)
Returns whether this rule could possibly match the given operands.protected void
AbstractRelOptPlanner. notifyTransformation(RelOptRuleCall ruleCall, RelNode newRel, boolean before)
Takes care of tracing and listener notification when a rule's transformation is applied.abstract void
RelOptRule. onMatch(RelOptRuleCall call)
Receives notification about a rule match.void
SubstitutionVisitor.FilterOnProjectRule. onMatch(RelOptRuleCall call)
Constructors in org.apache.calcite.plan with parameters of type RelOptRuleCall Constructor Description RuleAttemptedEvent(java.lang.Object eventSource, RelNode rel, RelOptRuleCall ruleCall, boolean before)
RuleEvent(java.lang.Object eventSource, RelNode rel, RelOptRuleCall ruleCall)
RuleProductionEvent(java.lang.Object eventSource, RelNode rel, RelOptRuleCall ruleCall, boolean before)
-
Uses of RelOptRuleCall in org.apache.calcite.plan.hep
Subclasses of RelOptRuleCall in org.apache.calcite.plan.hep Modifier and Type Class Description class
HepRuleCall
HepRuleCall implementsRelOptRuleCall
for aHepPlanner
. -
Uses of RelOptRuleCall in org.apache.calcite.plan.volcano
Subclasses of RelOptRuleCall in org.apache.calcite.plan.volcano Modifier and Type Class Description private static class
VolcanoPlanner.DeferringRuleCall
A rule call which defers its actions.class
VolcanoRuleCall
VolcanoRuleCall
implements theRelOptRuleCall
interface for VolcanoPlanner.(package private) class
VolcanoRuleMatch
A match of a rule to a particular set of target relational expressions, frozen in time.Methods in org.apache.calcite.plan.volcano with parameters of type RelOptRuleCall Modifier and Type Method Description void
AbstractConverter.ExpandConversionRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.rel.convert
Methods in org.apache.calcite.rel.convert with parameters of type RelOptRuleCall Modifier and Type Method Description void
ConverterRule. onMatch(RelOptRuleCall call)
void
TraitMatchingRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.rel.rules
Methods in org.apache.calcite.rel.rules with parameters of type RelOptRuleCall Modifier and Type Method Description static RelNode
AggregateProjectMergeRule. apply(RelOptRuleCall call, Aggregate aggregate, Project project)
protected void
AggregateStarTableRule. apply(RelOptRuleCall call, Project postProject, Aggregate aggregate, StarTable.StarTableScan scan)
protected void
FilterTableScanRule. apply(RelOptRuleCall call, Filter filter, TableScan scan)
protected void
MaterializedViewFilterScanRule. apply(RelOptRuleCall call, Filter filter, TableScan scan)
protected void
ProjectTableScanRule. apply(RelOptRuleCall call, Project project, TableScan scan)
protected void
ValuesReduceRule. apply(RelOptRuleCall call, LogicalProject project, LogicalFilter filter, LogicalValues values)
Does the work.protected RelNode
ReduceExpressionsRule.CalcReduceExpressionsRule. createEmptyRelOrEquivalent(RelOptRuleCall call, Calc input)
For static schema systems, a filter that is always false or null can be replaced by a values operator that produces no rows, as the schema information can just be taken from the input Rel.protected RelNode
ReduceExpressionsRule.FilterReduceExpressionsRule. createEmptyRelOrEquivalent(RelOptRuleCall call, Filter input)
For static schema systems, a filter that is always false or null can be replaced by a values operator that produces no rows, as the schema information can just be taken from the input Rel.private void
LoptOptimizeJoinRule. findBestOrderings(RelMetadataQuery mq, RelBuilder relBuilder, LoptMultiJoin multiJoin, LoptSemiJoinOptimizer semiJoinOpt, RelOptRuleCall call)
Generates N optimal join orderings.protected RelNode
JoinProjectTransposeRule. getProjectChild(RelOptRuleCall call, Project project, boolean leftChild)
Returns the child of the project that will be used as input into the new LogicalJoin once the projects are pulled above the LogicalJoin.protected RelNode
MultiJoinProjectTransposeRule. getProjectChild(RelOptRuleCall call, LogicalProject project, boolean leftChild)
protected Project
JoinProjectTransposeRule. getRightChild(RelOptRuleCall call)
protected LogicalProject
MultiJoinProjectTransposeRule. getRightChild(RelOptRuleCall call)
protected boolean
JoinProjectTransposeRule. hasLeftChild(RelOptRuleCall call)
protected boolean
MultiJoinProjectTransposeRule. hasLeftChild(RelOptRuleCall call)
protected boolean
JoinProjectTransposeRule. hasRightChild(RelOptRuleCall call)
protected boolean
MultiJoinProjectTransposeRule. hasRightChild(RelOptRuleCall call)
boolean
AggregateReduceFunctionsRule. matches(RelOptRuleCall call)
boolean
JoinToCorrelateRule. matches(RelOptRuleCall call)
boolean
SortJoinTransposeRule. matches(RelOptRuleCall call)
boolean
SortUnionTransposeRule. matches(RelOptRuleCall call)
void
AbstractJoinExtractFilterRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewOnlyAggregateRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewOnlyFilterRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewOnlyJoinRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewProjectAggregateRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewProjectFilterRule. onMatch(RelOptRuleCall call)
void
AbstractMaterializedViewRule.MaterializedViewProjectJoinRule. onMatch(RelOptRuleCall call)
void
AggregateExpandDistinctAggregatesRule. onMatch(RelOptRuleCall call)
void
AggregateExtractProjectRule. onMatch(RelOptRuleCall call)
void
AggregateFilterTransposeRule. onMatch(RelOptRuleCall call)
void
AggregateJoinTransposeRule. onMatch(RelOptRuleCall call)
void
AggregateProjectMergeRule. onMatch(RelOptRuleCall call)
void
AggregateProjectPullUpConstantsRule. onMatch(RelOptRuleCall call)
void
AggregateReduceFunctionsRule. onMatch(RelOptRuleCall ruleCall)
void
AggregateRemoveRule. onMatch(RelOptRuleCall call)
void
AggregateStarTableRule. onMatch(RelOptRuleCall call)
void
AggregateUnionAggregateRule. onMatch(RelOptRuleCall call)
void
AggregateUnionTransposeRule. onMatch(RelOptRuleCall call)
void
AggregateValuesRule. onMatch(RelOptRuleCall call)
void
CalcMergeRule. onMatch(RelOptRuleCall call)
void
CalcRemoveRule. onMatch(RelOptRuleCall call)
void
CalcSplitRule. onMatch(RelOptRuleCall call)
void
CoerceInputsRule. onMatch(RelOptRuleCall call)
void
DateRangeRules.FilterDateRangeRule. onMatch(RelOptRuleCall call)
void
FilterAggregateTransposeRule. onMatch(RelOptRuleCall call)
void
FilterCalcMergeRule. onMatch(RelOptRuleCall call)
void
FilterCorrelateRule. onMatch(RelOptRuleCall call)
void
FilterJoinRule.FilterIntoJoinRule. onMatch(RelOptRuleCall call)
void
FilterJoinRule.JoinConditionPushRule. onMatch(RelOptRuleCall call)
void
FilterMergeRule. onMatch(RelOptRuleCall call)
void
FilterMultiJoinMergeRule. onMatch(RelOptRuleCall call)
void
FilterProjectTransposeRule. onMatch(RelOptRuleCall call)
void
FilterRemoveIsNotDistinctFromRule. onMatch(RelOptRuleCall call)
void
FilterSetOpTransposeRule. onMatch(RelOptRuleCall call)
void
FilterTableFunctionTransposeRule. onMatch(RelOptRuleCall call)
void
FilterToCalcRule. onMatch(RelOptRuleCall call)
void
IntersectToDistinctRule. onMatch(RelOptRuleCall call)
void
JoinAddRedundantSemiJoinRule. onMatch(RelOptRuleCall call)
void
JoinAssociateRule. onMatch(RelOptRuleCall call)
void
JoinCommuteRule. onMatch(RelOptRuleCall call)
void
JoinProjectTransposeRule. onMatch(RelOptRuleCall call)
void
JoinPushExpressionsRule. onMatch(RelOptRuleCall call)
void
JoinPushThroughJoinRule. onMatch(RelOptRuleCall call)
void
JoinPushTransitivePredicatesRule. onMatch(RelOptRuleCall call)
void
JoinToCorrelateRule. onMatch(RelOptRuleCall call)
void
JoinToMultiJoinRule. onMatch(RelOptRuleCall call)
void
JoinUnionTransposeRule. onMatch(RelOptRuleCall call)
void
LoptOptimizeJoinRule. onMatch(RelOptRuleCall call)
void
MaterializedViewFilterScanRule. onMatch(RelOptRuleCall call)
void
MultiJoinOptimizeBushyRule. onMatch(RelOptRuleCall call)
void
ProjectCalcMergeRule. onMatch(RelOptRuleCall call)
void
ProjectCorrelateTransposeRule. onMatch(RelOptRuleCall call)
void
ProjectFilterTransposeRule. onMatch(RelOptRuleCall call)
void
ProjectJoinTransposeRule. onMatch(RelOptRuleCall call)
void
ProjectMergeRule. onMatch(RelOptRuleCall call)
void
ProjectMultiJoinMergeRule. onMatch(RelOptRuleCall call)
void
ProjectRemoveRule. onMatch(RelOptRuleCall call)
void
ProjectSetOpTransposeRule. onMatch(RelOptRuleCall call)
void
ProjectSortTransposeRule. onMatch(RelOptRuleCall call)
void
ProjectToCalcRule. onMatch(RelOptRuleCall call)
void
ProjectToWindowRule.CalcToWindowRule. onMatch(RelOptRuleCall call)
void
ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule. onMatch(RelOptRuleCall call)
void
ProjectWindowTransposeRule. onMatch(RelOptRuleCall call)
void
PruneEmptyRules.RemoveEmptySingleRule. onMatch(RelOptRuleCall call)
void
ReduceDecimalsRule. onMatch(RelOptRuleCall call)
void
ReduceExpressionsRule.CalcReduceExpressionsRule. onMatch(RelOptRuleCall call)
void
ReduceExpressionsRule.FilterReduceExpressionsRule. onMatch(RelOptRuleCall call)
void
ReduceExpressionsRule.JoinReduceExpressionsRule. onMatch(RelOptRuleCall call)
void
ReduceExpressionsRule.ProjectReduceExpressionsRule. onMatch(RelOptRuleCall call)
void
SemiJoinFilterTransposeRule. onMatch(RelOptRuleCall call)
void
SemiJoinJoinTransposeRule. onMatch(RelOptRuleCall call)
void
SemiJoinProjectTransposeRule. onMatch(RelOptRuleCall call)
void
SemiJoinRemoveRule. onMatch(RelOptRuleCall call)
void
SemiJoinRule. onMatch(RelOptRuleCall call)
void
SemiJoinRule.ProjectToSemiJoinRule. onMatch(RelOptRuleCall call)
void
SortJoinTransposeRule. onMatch(RelOptRuleCall call)
void
SortProjectTransposeRule. onMatch(RelOptRuleCall call)
void
SortRemoveConstantKeysRule. onMatch(RelOptRuleCall call)
void
SortRemoveRule. onMatch(RelOptRuleCall call)
void
SortUnionTransposeRule. onMatch(RelOptRuleCall call)
void
SubQueryRemoveRule.SubQueryFilterRemoveRule. onMatch(RelOptRuleCall call)
void
SubQueryRemoveRule.SubQueryJoinRemoveRule. onMatch(RelOptRuleCall call)
void
SubQueryRemoveRule.SubQueryProjectRemoveRule. onMatch(RelOptRuleCall call)
void
TableScanRule. onMatch(RelOptRuleCall call)
void
UnionEliminatorRule. onMatch(RelOptRuleCall call)
void
UnionMergeRule. onMatch(RelOptRuleCall call)
void
UnionPullUpConstantsRule. onMatch(RelOptRuleCall call)
void
UnionToDistinctRule. onMatch(RelOptRuleCall call)
private void
JoinPushThroughJoinRule. onMatchLeft(RelOptRuleCall call)
Similar toJoinPushThroughJoinRule.onMatch(org.apache.calcite.plan.RelOptRuleCall)
, but swaps the upper sibling with the left of the two lower siblings, rather than the right.private void
JoinPushThroughJoinRule. onMatchRight(RelOptRuleCall call)
protected void
AbstractMaterializedViewRule. perform(RelOptRuleCall call, Project topProject, RelNode node)
Rewriting logic is based on "Optimizing Queries Using Materialized Views: A Practical, Scalable Solution" by Goldstein and Larson.protected void
FilterJoinRule. perform(RelOptRuleCall call, Filter filter, Join join)
protected void
SemiJoinRule. perform(RelOptRuleCall call, Project project, Join join, RelNode left, Aggregate aggregate)
private void
AggregateReduceFunctionsRule. reduceAggs(RelOptRuleCall ruleCall, Aggregate oldAggRel)
Reduces all calls to AVG, STDDEV_POP, STDDEV_SAMP, VAR_POP, VAR_SAMP in the aggregates list to.private void
ReduceExpressionsRule.FilterReduceExpressionsRule. reduceNotNullableFilter(RelOptRuleCall call, Filter filter, RexNode rexNode, boolean reverse)
private void
AggregateExpandDistinctAggregatesRule. rewriteUsingGroupingSets(RelOptRuleCall call, Aggregate aggregate)
-
Uses of RelOptRuleCall in org.apache.calcite.rel.stream
Methods in org.apache.calcite.rel.stream with parameters of type RelOptRuleCall Modifier and Type Method Description void
StreamRules.DeltaAggregateTransposeRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaFilterTransposeRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaJoinTransposeRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaProjectTransposeRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaSortTransposeRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaTableScanRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaTableScanToEmptyRule. onMatch(RelOptRuleCall call)
void
StreamRules.DeltaUnionTransposeRule. onMatch(RelOptRuleCall call)
-
Uses of RelOptRuleCall in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel with parameters of type RelOptRuleCall Modifier and Type Method Description void
RelDecorrelator.AdjustProjectForCountAggregateRule. onMatch(RelOptRuleCall call)
void
RelDecorrelator.RemoveCorrelationForScalarAggregateRule. onMatch(RelOptRuleCall call)
void
RelDecorrelator.RemoveCorrelationForScalarProjectRule. onMatch(RelOptRuleCall call)
void
RelDecorrelator.RemoveSingleAggregateRule. onMatch(RelOptRuleCall call)
private void
RelDecorrelator.AdjustProjectForCountAggregateRule. onMatch2(RelOptRuleCall call, LogicalCorrelate correlate, RelNode leftInput, LogicalProject aggOutputProject, LogicalAggregate aggregate)
-