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) |
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, validateAndConvertunwrappublic 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 DefaultSqlHandlerorg.apache.calcite.tools.RelConversionExceptionForemanSetupExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.