Class DruidConvention

java.lang.Object
org.apache.druid.sql.calcite.rel.DruidConvention
All Implemented Interfaces:
org.apache.calcite.plan.Convention, org.apache.calcite.plan.RelTrait

public class DruidConvention extends Object implements org.apache.calcite.plan.Convention
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.calcite.plan.Convention

    org.apache.calcite.plan.Convention.Impl
  • Field Summary

    Fields inherited from interface org.apache.calcite.plan.Convention

    NONE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canConvertConvention(org.apache.calcite.plan.Convention toConvention)
     
     
     
    org.apache.calcite.plan.RelTraitDef
     
     
    void
    register(org.apache.calcite.plan.RelOptPlanner planner)
     
    boolean
    satisfies(org.apache.calcite.plan.RelTrait trait)
     
     
    boolean
    useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.calcite.plan.Convention

    enforce, getRelFactories

    Methods inherited from interface org.apache.calcite.plan.RelTrait

    apply, equals, hashCode, isDefault
  • Method Details

    • instance

      public static DruidConvention instance()
    • getInterface

      public Class getInterface()
      Specified by:
      getInterface in interface org.apache.calcite.plan.Convention
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.calcite.plan.Convention
    • canConvertConvention

      public boolean canConvertConvention(org.apache.calcite.plan.Convention toConvention)
      Specified by:
      canConvertConvention in interface org.apache.calcite.plan.Convention
    • useAbstractConvertersForConversion

      public boolean useAbstractConvertersForConversion(org.apache.calcite.plan.RelTraitSet fromTraits, org.apache.calcite.plan.RelTraitSet toTraits)
      Specified by:
      useAbstractConvertersForConversion in interface org.apache.calcite.plan.Convention
    • getTraitDef

      public org.apache.calcite.plan.RelTraitDef getTraitDef()
      Specified by:
      getTraitDef in interface org.apache.calcite.plan.RelTrait
    • satisfies

      public boolean satisfies(org.apache.calcite.plan.RelTrait trait)
      Specified by:
      satisfies in interface org.apache.calcite.plan.RelTrait
    • register

      public void register(org.apache.calcite.plan.RelOptPlanner planner)
      Specified by:
      register in interface org.apache.calcite.plan.RelTrait
    • toString

      public String toString()
      Specified by:
      toString in interface org.apache.calcite.plan.RelTrait
      Overrides:
      toString in class Object