Class AnalyzeTableHandler
java.lang.Object
org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
org.apache.drill.exec.planner.sql.handlers.AnalyzeTableHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
DefaultSqlHandler.ConvertedRelNode, DefaultSqlHandler.MetaDataProviderModifier
-
Field Summary
Fields inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
config, context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DrillRel
convertToDrel
(org.apache.calcite.rel.RelNode relNode, AbstractSchema schema, String analyzeTableName, double samplePercent) getPlan
(org.apache.calcite.sql.SqlNode sqlNode) Methods inherited from class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler
addRenamedProject, convertToDrel, convertToPlan, convertToPop, convertToPrel, convertToRawDrel, getPops, log, log, log, logAndSetTextPlan, rewrite, transform, transform, validateAndConvert, validateNode
Methods inherited from class org.apache.drill.exec.planner.sql.handlers.AbstractSqlHandler
unwrap
-
Constructor Details
-
AnalyzeTableHandler
-
-
Method Details
-
getPlan
public PhysicalPlan getPlan(org.apache.calcite.sql.SqlNode sqlNode) throws org.apache.calcite.tools.ValidationException, org.apache.calcite.tools.RelConversionException, IOException, ForemanSetupException - Overrides:
getPlan
in classDefaultSqlHandler
- Throws:
org.apache.calcite.tools.ValidationException
org.apache.calcite.tools.RelConversionException
IOException
ForemanSetupException
-
convertToDrel
protected DrillRel convertToDrel(org.apache.calcite.rel.RelNode relNode, AbstractSchema schema, String analyzeTableName, double samplePercent) throws SqlUnsupportedException - Throws:
SqlUnsupportedException
-