Class KuduSortRule.KuduSortWithoutFilter

java.lang.Object
org.apache.calcite.plan.RelOptRule
com.twilio.kudu.sql.rules.KuduSortRule
com.twilio.kudu.sql.rules.KuduSortRule.KuduSortWithoutFilter
Enclosing class:
KuduSortRule

public static class KuduSortRule.KuduSortWithoutFilter extends KuduSortRule
Rule to match a Sort above KuduQuery. Applies only if sort matches primary key order. 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

    Constructors
    Constructor
    Description
    KuduSortWithoutFilter(org.apache.calcite.tools.RelBuilderFactory factory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMatch(org.apache.calcite.plan.RelOptRuleCall call)
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • KuduSortWithoutFilter

      public KuduSortWithoutFilter(org.apache.calcite.tools.RelBuilderFactory factory)
  • Method Details

    • onMatch

      public void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
      Specified by:
      onMatch in class org.apache.calcite.plan.RelOptRule