org.apache.hadoop.hive.ql.parse
Class ColumnStatsSemanticAnalyzer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
      extended by org.apache.hadoop.hive.ql.parse.SemanticAnalyzer
          extended by org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer

public class ColumnStatsSemanticAnalyzer
extends SemanticAnalyzer

ColumnStatsSemanticAnalyzer. Handles semantic analysis and rewrite for gathering column statistics both at the level of a partition and a table. Note that table statistics are implemented in SemanticAnalyzer.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
BaseSemanticAnalyzer.tableSpec
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.SemanticAnalyzer
DUMMY_DATABASE, DUMMY_TABLE
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
HIVE_COLUMN_ORDER_ASC, HIVE_COLUMN_ORDER_DESC
 
Constructor Summary
ColumnStatsSemanticAnalyzer(HiveConf conf)
           
ColumnStatsSemanticAnalyzer(HiveConf conf, ASTNode tree)
           
 
Method Summary
 void analyze(ASTNode ast, Context origCtx)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.SemanticAnalyzer
analyzeInternal, doPhase1, doPhase1QBExpr, genAllExprNodeDesc, genAllExprNodeDesc, generateErrorMessage, genExprNodeDesc, genExprNodeDesc, genPlan, getColumnInternalName, getMetaData, getMetaData, getParseContext, getQB, getResultSchema, getRowResolver, getTable, init, initParseCtx, initPhase1Ctx, parseSelect, putOpInsertMap, setQB, validate
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
charSetString, getColumnAccessInfo, getColumnNames, getColumns, getDb, getFetchTask, getIdToTableNameMap, getInputs, getLineageInfo, getOutputs, getQueryProperties, getRootTasks, getTableAccessInfo, getUnescapedName, getUnescapedName, getUnescapedUnqualifiedTableName, initCtx, isValidPrefixSpec, readProps, setColumnAccessInfo, setFetchTask, setLineageInfo, setTableAccessInfo, stripIdentifierQuotes, stripQuotes, unescapeIdentifier, unescapeSQLString, validatePartSpec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnStatsSemanticAnalyzer

public ColumnStatsSemanticAnalyzer(HiveConf conf)
                            throws SemanticException
Throws:
SemanticException

ColumnStatsSemanticAnalyzer

public ColumnStatsSemanticAnalyzer(HiveConf conf,
                                   ASTNode tree)
                            throws SemanticException
Throws:
SemanticException
Method Detail

analyze

public void analyze(ASTNode ast,
                    Context origCtx)
             throws SemanticException
Overrides:
analyze in class BaseSemanticAnalyzer
Throws:
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.