public class QBJoinTree extends Object implements Serializable, Cloneable
Constructor and Description |
---|
QBJoinTree()
constructor.
|
public String getLeftAlias()
public void setLeftAlias(String leftAlias)
leftAlias
- Stringpublic String[] getRightAliases()
public void setRightAliases(String[] rightAliases)
public String[] getLeftAliases()
public void setLeftAliases(String[] leftAliases)
public String[] getBaseSrc()
public void setBaseSrc(String[] baseSrc)
public QBJoinTree getJoinSrc()
public void setJoinSrc(QBJoinTree joinSrc)
public int getNextTag()
public JoinCond[] getJoinCond()
public void setJoinCond(JoinCond[] joinCond)
public boolean getNoOuterJoin()
public void setNoOuterJoin(boolean noOuterJoin)
public boolean getNoSemiJoin()
public void setNoSemiJoin(boolean semi)
public void setFilters(ArrayList<ArrayList<ASTNode>> filters)
filters
- the filters to setpublic ArrayList<ArrayList<ASTNode>> getFiltersForPushing()
public void setFiltersForPushing(ArrayList<ArrayList<ASTNode>> filters)
filters
- for pushing
the filters to setpublic boolean isMapSideJoin()
public void setMapSideJoin(boolean mapSideJoin)
mapSideJoin
- the mapSidejoin to setpublic void setMapAliases(List<String> mapAliases)
mapAliases
- the mapAliases to setpublic void addRHSSemijoin(String alias)
alias
- table name alias.public void addRHSSemijoinColumns(String alias, ArrayList<ASTNode> columns)
alias
- columns
- public void addRHSSemijoinColumns(String alias, ASTNode column)
alias
- column
- public void mergeRHSSemijoin(QBJoinTree src)
src
- the source join treepublic void addFilterMapping(int outer, int target, int length)
public int[][] getFilterMap()
public void setFilterMap(int[][] filterMap)
public Map<String,Operator<? extends OperatorDesc>> getAliasToOpInfo()
public void setAliasToOpInfo(Map<String,Operator<? extends OperatorDesc>> aliasToOpInfo)
public String getId()
public void setId(String id)
public void addPostJoinFilter(ASTNode filter)
public QBJoinTree clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2017 The Apache Software Foundation. All rights reserved.