Uses of Class
org.apache.hadoop.hive.ql.parse.ASTNode

Packages that use ASTNode
org.apache.hadoop.hive.ql   
org.apache.hadoop.hive.ql.metadata   
org.apache.hadoop.hive.ql.parse   
 

Uses of ASTNode in org.apache.hadoop.hive.ql
 

Methods in org.apache.hadoop.hive.ql that return ASTNode
 ASTNode QTestUtil.parseQuery(String tname)
           
 

Methods in org.apache.hadoop.hive.ql with parameters of type ASTNode
 List<Task<? extends Serializable>> QTestUtil.analyzeAST(ASTNode ast)
           
 int QTestUtil.checkParseResults(String tname, ASTNode tree)
           
 

Uses of ASTNode in org.apache.hadoop.hive.ql.metadata
 

Methods in org.apache.hadoop.hive.ql.metadata that return ASTNode
 ASTNode DummySemanticAnalyzerHook1.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 ASTNode DummySemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 

Methods in org.apache.hadoop.hive.ql.metadata with parameters of type ASTNode
 ASTNode DummySemanticAnalyzerHook1.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 ASTNode DummySemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 

Uses of ASTNode in org.apache.hadoop.hive.ql.parse
 

Methods in org.apache.hadoop.hive.ql.parse that return ASTNode
static ASTNode ParseUtils.findRootNonNullToken(ASTNode tree)
          Performs a descent of the leftmost branch of a tree, stopping when either a node with a non-null token is found or the leaf level is encountered.
 ASTNode QBParseInfo.getClusterByForClause(String clause)
          Get the Cluster By AST for the clause.
 ASTNode QBParseInfo.getDestForClause(String clause)
           
 ASTNode QBParseInfo.getDistributeByForClause(String clause)
          Get the Distribute By AST for the clause.
 ASTNode TypeCheckCtx.getErrorSrcNode()
           
 ASTNode RowResolver.getExpressionSource(ASTNode node)
          Retrieves the source expression matching a given ASTNode's string rendering exactly.
 ASTNode QBParseInfo.getGroupByForClause(String clause)
           
 ASTNode QBParseInfo.getHavingForClause(String clause)
           
 ASTNode QBParseInfo.getHints()
           
 ASTNode QBParseInfo.getJoinExpr()
           
 ASTNode QBParseInfo.getOrderByForClause(String clause)
           
 ASTNode ParseContext.getParseTree()
           
 ASTNode QBParseInfo.getSelForClause(String clause)
           
 ASTNode QBParseInfo.getSortByForClause(String clause)
          Get the Sort By AST for the clause.
 ASTNode QBParseInfo.getSrcForAlias(String alias)
           
 ASTNode ASTNodeOrigin.getUsageNode()
           
 ASTNode QBParseInfo.getWhrForClause(String clause)
           
 ASTNode ParseDriver.parse(String command)
           
 ASTNode ParseDriver.parse(String command, Context ctx)
          Parses a command, optionally assigning the parser's token stream to the given context.
 ASTNode HiveSemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
          Invoked before Hive performs its own semantic analysis on a statement.
 ASTNode AbstractSemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 

Methods in org.apache.hadoop.hive.ql.parse that return types with arguments of type ASTNode
 HashMap<String,ASTNode> QBParseInfo.getAggregationExprsForClause(String clause)
           
 Map<String,ArrayList<ASTNode>> QBParseInfo.getAliasToLateralViews()
           
 Map<ASTNode,String> QBParseInfo.getAllExprToColumnAlias()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToClusterBy()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToDistributeBy()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToGroupBy()
           
 Map<String,ASTNode> QBParseInfo.getDestToHaving()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToOrderBy()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToSortBy()
           
 HashMap<String,ASTNode> QBParseInfo.getDestToWhereExpr()
           
 List<ASTNode> QBParseInfo.getDistinctFuncExprsForClause(String clause)
           
 Map<String,ASTNode> RowResolver.getExpressionMap()
           
 ArrayList<ArrayList<ASTNode>> QBJoinTree.getExpressions()
           
 ArrayList<ASTNode> TableSample.getExprs()
          Gets the ON part's expression list.
 ArrayList<ArrayList<ASTNode>> QBJoinTree.getFilters()
           
 ArrayList<ArrayList<ASTNode>> QBJoinTree.getFiltersForPushing()
           
 List<ASTNode> QBParseInfo.getLateralViewsForAlias(String alias)
           
 ArrayList<ASTNode> QBJoinTree.getRHSSemijoinColumns(String alias)
           
 

Methods in org.apache.hadoop.hive.ql.parse with parameters of type ASTNode
 void QBParseInfo.addLateralViewForAlias(String alias, ASTNode lateralView)
           
 void QBJoinTree.addRHSSemijoinColumns(String alias, ASTNode column)
          Remeber the mapping of table alias to set of columns.
 void BaseSemanticAnalyzer.analyze(ASTNode ast, Context ctx)
           
 void SemanticAnalyzer.analyzeInternal(ASTNode ast)
           
 void LoadSemanticAnalyzer.analyzeInternal(ASTNode ast)
           
 void FunctionSemanticAnalyzer.analyzeInternal(ASTNode ast)
           
 void ExplainSemanticAnalyzer.analyzeInternal(ASTNode ast)
           
 void DDLSemanticAnalyzer.analyzeInternal(ASTNode ast)
           
abstract  void BaseSemanticAnalyzer.analyzeInternal(ASTNode ast)
           
 void SemanticAnalyzer.doPhase1(ASTNode ast, QB qb, org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.Phase1Ctx ctx_1)
          Phase 1: (including, but not limited to): 1.
 void SemanticAnalyzer.doPhase1QBExpr(ASTNode ast, QBExpr qbexpr, String id, String alias)
           
static ASTNode ParseUtils.findRootNonNullToken(ASTNode tree)
          Performs a descent of the leftmost branch of a tree, stopping when either a node with a non-null token is found or the leaf level is encountered.
static HashMap<Node,Object> TypeCheckProcFactory.genExprNode(ASTNode expr, TypeCheckCtx tcCtx)
           
 ExprNodeDesc SemanticAnalyzer.genExprNodeDesc(ASTNode expr, RowResolver input)
          Generates an expression node descriptor for the expression passed in the arguments.
static BaseSemanticAnalyzer SemanticAnalyzerFactory.get(HiveConf conf, ASTNode tree)
           
protected  List<String> BaseSemanticAnalyzer.getColumnNames(ASTNode ast)
           
protected  List<Order> BaseSemanticAnalyzer.getColumnNamesOrder(ASTNode ast)
           
protected  List<FieldSchema> BaseSemanticAnalyzer.getColumns(ASTNode ast)
           
static List<FieldSchema> BaseSemanticAnalyzer.getColumns(ASTNode ast, boolean lowerCase)
          Get the list of FieldSchema out of the ASTNode.
 ColumnInfo RowResolver.getExpression(ASTNode node)
          Retrieves the ColumnInfo corresponding to a source expression which exactly matches the string rendering of the given ASTNode.
 ASTNode RowResolver.getExpressionSource(ASTNode node)
          Retrieves the source expression matching a given ASTNode's string rendering exactly.
 String QBParseInfo.getExprToColumnAlias(ASTNode expr)
           
static String TypeCheckProcFactory.DefaultExprProcessor.getFunctionText(ASTNode expr, boolean isFunction)
           
 String ErrorMsg.getMsg(ASTNode tree)
           
 String ErrorMsg.getMsg(ASTNode tree, String reason)
           
protected static String BaseSemanticAnalyzer.getTypeStringFromAST(ASTNode typeNode)
           
static String BaseSemanticAnalyzer.getUnescapedName(ASTNode tableNameNode)
           
protected  void BaseSemanticAnalyzer.handleGenericFileFormat(ASTNode node)
           
 boolean QBParseInfo.hasExprToColumnAlias(ASTNode expr)
           
static boolean ParseUtils.isJoinToken(ASTNode node)
          Tests whether the parse tree node is a join token.
static boolean TypeCheckProcFactory.DefaultExprProcessor.isRedundantConversionFunction(ASTNode expr, boolean isFunction, ArrayList<ExprNodeDesc> children)
           
 ASTNode HiveSemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
          Invoked before Hive performs its own semantic analysis on a statement.
 ASTNode AbstractSemanticAnalyzerHook.preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast)
           
 void RowResolver.putExpression(ASTNode node, ColumnInfo colInfo)
          Puts a resolver entry corresponding to a source expression which is to be used for identical expression recognition (e.g.
static void BaseSemanticAnalyzer.readProps(ASTNode prop, Map<String,String> mapProp)
          Converts parsed key/value properties pairs into a map.
 void QBParseInfo.setClusterByExprForClause(String clause, ASTNode ast)
          Set the Cluster By AST for the clause.
 void QBParseInfo.setDestForClause(String clause, ASTNode ast)
           
 void QBParseInfo.setDistributeByExprForClause(String clause, ASTNode ast)
          Set the Distribute By AST for the clause.
 void TypeCheckCtx.setError(String error, ASTNode errorSrcNode)
           
 void QBParseInfo.setExprToColumnAlias(ASTNode expr, String alias)
           
 void QBParseInfo.setGroupByExprForClause(String clause, ASTNode ast)
           
 void QBParseInfo.setHavingExprForClause(String clause, ASTNode ast)
           
 void QBParseInfo.setHints(ASTNode hint)
           
 void QBParseInfo.setJoinExpr(ASTNode joinExpr)
           
 void QBParseInfo.setOrderByExprForClause(String clause, ASTNode ast)
           
 void ParseContext.setParseTree(ASTNode ast)
           
 void QBParseInfo.setSelExprForClause(String clause, ASTNode ast)
           
 void QBParseInfo.setSortByExprForClause(String clause, ASTNode ast)
          Set the Sort By AST for the clause.
 void QBParseInfo.setSrcForAlias(String alias, ASTNode ast)
           
 void QBParseInfo.setWhrExprForClause(String clause, ASTNode ast)
           
 

Method parameters in org.apache.hadoop.hive.ql.parse with type arguments of type ASTNode
 void QBParseInfo.addAggregationExprsForClause(String clause, LinkedHashMap<String,ASTNode> aggregationTrees)
           
 void QBJoinTree.addRHSSemijoinColumns(String alias, ArrayList<ASTNode> columns)
          Remeber the mapping of table alias to set of columns.
 void QBParseInfo.setAggregationExprsForClause(String clause, LinkedHashMap<String,ASTNode> aggregationTrees)
           
 void QBParseInfo.setDistinctFuncExprsForClause(String clause, List<ASTNode> ast)
           
 void RowResolver.setExpressionMap(Map<String,ASTNode> expressionMap)
           
 void QBJoinTree.setExpressions(ArrayList<ArrayList<ASTNode>> expressions)
           
 void TableSample.setExprs(ArrayList<ASTNode> exprs)
          Sets the expression list.
 void QBJoinTree.setFilters(ArrayList<ArrayList<ASTNode>> filters)
           
 void QBJoinTree.setFiltersForPushing(ArrayList<ArrayList<ASTNode>> filters)
           
 

Constructors in org.apache.hadoop.hive.ql.parse with parameters of type ASTNode
ASTNodeOrigin(String objectType, String objectName, String objectDefinition, String usageAlias, ASTNode usageNode)
           
BaseSemanticAnalyzer.tableSpec(Hive db, HiveConf conf, ASTNode ast)
           
ParseContext(HiveConf conf, QB qb, ASTNode ast, HashMap<TableScanOperator,ExprNodeDesc> opToPartPruner, HashMap<TableScanOperator,PrunedPartitionList> opToPartList, HashMap<String,Operator<? extends Serializable>> topOps, HashMap<String,Operator<? extends Serializable>> topSelOps, LinkedHashMap<Operator<? extends Serializable>,OpParseContext> opParseCtx, Map<JoinOperator,QBJoinTree> joinContext, HashMap<TableScanOperator,Table> topToTable, List<LoadTableDesc> loadTableWork, List<LoadFileDesc> loadFileWork, Context ctx, HashMap<String,String> idToTableNameMap, int destTableId, UnionProcContext uCtx, List<AbstractMapJoinOperator<? extends MapJoinDesc>> listMapJoinOpsNoReducer, Map<GroupByOperator,Set<String>> groupOpToInputTables, Map<String,PrunedPartitionList> prunedPartitions, HashMap<TableScanOperator,FilterDesc.sampleDesc> opToSamplePruner)
           
 

Constructor parameters in org.apache.hadoop.hive.ql.parse with type arguments of type ASTNode
TableSample(String num, String den, ArrayList<ASTNode> exprs)
          Constructs the TableSample given the numerator, denominator and the list of ON clause expressions.
 



Copyright © 2011 The Apache Software Foundation