Package com.twilio.kudu.sql.rules
Class KuduSortRule.KuduSortWithFilter
java.lang.Object
org.apache.calcite.plan.RelOptRule
com.twilio.kudu.sql.rules.KuduSortRule
com.twilio.kudu.sql.rules.KuduSortRule.KuduSortWithFilter
- Enclosing class:
- KuduSortRule
Rule to match a Sort above
Filter
and it is above KuduQuery
.
Applies if sort matches primary key or if the primary key is required in the
filter. Can match descending sorted tables as well
CalciteKuduTable.getDescendingOrderedColumnIndexes()
-
Nested Class Summary
Nested classes/interfaces inherited from class com.twilio.kudu.sql.rules.KuduSortRule
KuduSortRule.KuduFilterVisitor, KuduSortRule.KuduSortWithFilter, KuduSortRule.KuduSortWithoutFilter
Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand
-
Field Summary
Fields inherited from class com.twilio.kudu.sql.rules.KuduSortRule
FILTER_SORT_RULE, pkSortColumns, SIMPLE_SORT_RULE
Fields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Constructor Summary
-
Method Summary
Methods inherited from class com.twilio.kudu.sql.rules.KuduSortRule
canApply, perform
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Constructor Details
-
KuduSortWithFilter
public KuduSortWithFilter(org.apache.calcite.tools.RelBuilderFactory factory)
-
-
Method Details
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatch
in classorg.apache.calcite.plan.RelOptRule
-