public class QB extends Object
Constructor and Description |
---|
QB() |
QB(String outer_id,
String alias,
boolean isSubQ) |
public void print(String msg)
public String getAlias()
public QBParseInfo getParseInfo()
public QBMetaData getMetaData()
public void setQBParseInfo(QBParseInfo qbp)
public void countSelDi()
public void countSel()
public boolean exists(String alias)
public void addAlias(String alias)
public String getId()
public int getNumGbys()
public int getNumSelDi()
public int getNumSels()
public int getNumJoins()
public QBJoinTree getQbJoinTree()
public void setQbJoinTree(QBJoinTree qbjoin)
public void setIsQuery(boolean isQuery)
public boolean getIsQuery()
public boolean isTopLevelSelectStarQuery()
public boolean isSimpleSelectQuery()
public boolean hasTableSample(String alias)
public CreateTableDesc getTableDesc()
public void setTableDesc(CreateTableDesc desc)
public CreateTableDesc getDirectoryDesc()
public void setDirectoryDesc(CreateTableDesc directoryDesc)
public boolean isCTAS()
public List<String> getSkewedColumnNames(String alias)
alias
- table aliaspublic boolean isAnalyzeRewrite()
public void setAnalyzeRewrite(boolean isAnalyzeRewrite)
public PTFInvocationSpec getPTFInvocationSpec(ASTNode node)
public void addPTFNodeToSpec(ASTNode node, PTFInvocationSpec spec)
public HashMap<ASTNode,PTFInvocationSpec> getPTFNodeToSpec()
public WindowingSpec getWindowingSpec(String dest)
public void addDestToWindowingSpec(String dest, WindowingSpec windowingSpec)
public boolean hasWindowingSpec(String dest)
public HashMap<String,WindowingSpec> getAllWindowingSpecs()
protected void setSubQueryDef(QBSubQuery subQueryPredicateDef)
protected QBSubQuery getSubQueryPredicateDef()
protected int getNumSubQueryPredicates()
protected int incrNumSubQueryPredicates()
public QBSubQuery getWhereClauseSubQueryPredicate()
public QBSubQuery getHavingClauseSubQueryPredicate()
Copyright © 2017 The Apache Software Foundation. All rights reserved.