Interface PlannerHook

All Known Implementing Classes:
NoOpPlannerHook

@Deprecated public interface PlannerHook
Deprecated.
Druid-specific version of Calcite's Hook class. Captures artifacts of interest in the Druid planning process, generally for test validation. Calcite's hook has multiple low-level events, but, sadly, none at the points where tests want to verify, except for the opportunity to capture the native query. Should be removed ; use DruidHookDispatcher instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    captureBindableRel(org.apache.calcite.interpreter.BindableRel bindableRel)
    Deprecated.
     
    void
    Deprecated.
     
    void
    captureInsert(org.apache.calcite.sql.SqlInsert insert)
    Deprecated.
     
    void
    captureParameterTypes(org.apache.calcite.rel.type.RelDataType parameterTypes)
    Deprecated.
     
    void
    captureQueryRel(org.apache.calcite.rel.RelRoot rootQueryRel)
    Deprecated.
     
    void
    Deprecated.
     
    default void
    captureSqlNode(org.apache.calcite.sql.SqlNode node)
    Deprecated.
     
  • Method Details

    • captureSql

      void captureSql(String sql)
      Deprecated.
    • captureSqlNode

      default void captureSqlNode(org.apache.calcite.sql.SqlNode node)
      Deprecated.
    • captureQueryRel

      void captureQueryRel(org.apache.calcite.rel.RelRoot rootQueryRel)
      Deprecated.
    • captureDruidRel

      void captureDruidRel(DruidRel<?> druidRel)
      Deprecated.
    • captureBindableRel

      void captureBindableRel(org.apache.calcite.interpreter.BindableRel bindableRel)
      Deprecated.
    • captureParameterTypes

      void captureParameterTypes(org.apache.calcite.rel.type.RelDataType parameterTypes)
      Deprecated.
    • captureInsert

      void captureInsert(org.apache.calcite.sql.SqlInsert insert)
      Deprecated.