Interface PlannerHook
- All Known Implementing Classes:
NoOpPlannerHook
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 TypeMethodDescriptionvoidcaptureBindableRel(org.apache.calcite.interpreter.BindableRel bindableRel) Deprecated.voidcaptureDruidRel(DruidRel<?> druidRel) Deprecated.voidcaptureInsert(org.apache.calcite.sql.SqlInsert insert) Deprecated.voidcaptureParameterTypes(org.apache.calcite.rel.type.RelDataType parameterTypes) Deprecated.voidcaptureQueryRel(org.apache.calcite.rel.RelRoot rootQueryRel) Deprecated.voidcaptureSql(String sql) Deprecated.default voidcaptureSqlNode(org.apache.calcite.sql.SqlNode node) Deprecated.
-
Method Details
-
captureSql
Deprecated. -
captureSqlNode
default void captureSqlNode(org.apache.calcite.sql.SqlNode node) Deprecated. -
captureQueryRel
void captureQueryRel(org.apache.calcite.rel.RelRoot rootQueryRel) Deprecated. -
captureDruidRel
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.
-