public class ExplainHandler extends DefaultSqlHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ExplainHandler.LogicalExplain |
static class |
ExplainHandler.PhysicalExplain |
DefaultSqlHandler.ConvertedRelNode, DefaultSqlHandler.MetaDataProviderModifierconfig, context| Constructor and Description |
|---|
ExplainHandler(SqlHandlerConfig config,
Pointer<String> textPlan) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalPlan |
getPlan(org.apache.calcite.sql.SqlNode sqlNode) |
static void |
printPlan(Prel node,
QueryContext context) |
static void |
printPlan(org.apache.calcite.rel.RelNode node) |
org.apache.calcite.sql.SqlNode |
rewrite(org.apache.calcite.sql.SqlNode sqlNode)
Rewrite the parse tree.
|
addRenamedProject, convertToDrel, convertToPlan, convertToPop, convertToPrel, convertToRawDrel, getPops, log, log, log, logAndSetTextPlan, transform, transform, validateAndConvert, validateNodeunwrappublic ExplainHandler(SqlHandlerConfig config, Pointer<String> textPlan)
public PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.calcite.tools.ValidationException, org.apache.calcite.tools.RelConversionException, IOException, ForemanSetupException
getPlan in class DefaultSqlHandlerorg.apache.calcite.tools.ValidationExceptionorg.apache.calcite.tools.RelConversionExceptionIOExceptionForemanSetupExceptionpublic org.apache.calcite.sql.SqlNode rewrite(org.apache.calcite.sql.SqlNode sqlNode)
throws org.apache.calcite.tools.RelConversionException,
ForemanSetupException
DefaultSqlHandlerrewrite in class DefaultSqlHandlersqlNode - sql parse tree to be rewrittenorg.apache.calcite.tools.RelConversionExceptionForemanSetupExceptionpublic static void printPlan(Prel node, QueryContext context)
public static void printPlan(org.apache.calcite.rel.RelNode node)
Copyright © 2021 The Apache Software Foundation. All rights reserved.