org.apache.hadoop.hive.ql.parse
Class QBSubQuery
java.lang.Object
org.apache.hadoop.hive.ql.parse.QBSubQuery
- All Implemented Interfaces:
- SubQueryUtils.ISubQueryJoinInfo
public class QBSubQuery
- extends Object
- implements SubQueryUtils.ISubQueryJoinInfo
QBSubQuery
public QBSubQuery(String outerQueryId,
int sqIdx,
ASTNode subQueryAST,
ASTNode parentQueryExpression,
QBSubQuery.SubQueryTypeDef operator,
ASTNode originalSQAST,
Context ctx)
getSubQueryAST
public ASTNode getSubQueryAST()
- Specified by:
getSubQueryAST
in interface SubQueryUtils.ISubQueryJoinInfo
getOuterQueryExpression
public ASTNode getOuterQueryExpression()
getOperator
public QBSubQuery.SubQueryTypeDef getOperator()
getOuterQueryId
public String getOuterQueryId()
- Specified by:
getOuterQueryId
in interface SubQueryUtils.ISubQueryJoinInfo
getJoinType
public JoinType getJoinType()
- Specified by:
getJoinType
in interface SubQueryUtils.ISubQueryJoinInfo
getAlias
public String getAlias()
- Specified by:
getAlias
in interface SubQueryUtils.ISubQueryJoinInfo
getJoinConditionAST
public ASTNode getJoinConditionAST()
- Specified by:
getJoinConditionAST
in interface SubQueryUtils.ISubQueryJoinInfo
getNumOfCorrelationExprsAddedToSQSelect
public int getNumOfCorrelationExprsAddedToSQSelect()
getSubQuery
public QBSubQuery getSubQuery()
- Specified by:
getSubQuery
in interface SubQueryUtils.ISubQueryJoinInfo
Copyright © 2014 The Apache Software Foundation. All rights reserved.