public class JoinTree extends Object
Constructor and Description |
---|
JoinTree(JoinTree parent,
TableRelationship tableRelationship,
int depthFromRoot) |
Modifier and Type | Method and Description |
---|---|
JoinTree |
addChild(TableRelationship tableRelationship,
Map<String,Integer> aliasUsage) |
Iterator<JoinTree> |
bft() |
static JoinTree |
createRoot() |
Iterator<JoinTree> |
dft() |
boolean |
equals(Object o) |
String |
getAlias() |
int |
getDepthFromRoot() |
org.apache.hadoop.hive.ql.parse.JoinType |
getJoinType() |
int |
getNumEdges() |
JoinTree |
getParent() |
TableRelationship |
getParentRelationship() |
Map<TableRelationship,JoinTree> |
getSubtrees() |
int |
hashCode() |
boolean |
isLeaf() |
Set<JoinTree> |
leaves() |
void |
setAlias(String alias) |
void |
setDepthFromRoot(int depthFromRoot) |
void |
setJoinType(org.apache.hadoop.hive.ql.parse.JoinType joinType) |
void |
setParent(JoinTree parent) |
void |
setParentRelationship(TableRelationship parentRelationship) |
void |
setSubtrees(Map<TableRelationship,JoinTree> subtrees) |
String |
toString() |
public JoinTree(JoinTree parent, TableRelationship tableRelationship, int depthFromRoot)
public static JoinTree createRoot()
public JoinTree addChild(TableRelationship tableRelationship, Map<String,Integer> aliasUsage)
public int getNumEdges()
public boolean isLeaf()
@Generated(value="lombok") public JoinTree getParent()
@Generated(value="lombok") public TableRelationship getParentRelationship()
@Generated(value="lombok") public String getAlias()
@Generated(value="lombok") public Map<TableRelationship,JoinTree> getSubtrees()
@Generated(value="lombok") public int getDepthFromRoot()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.JoinType getJoinType()
@Generated(value="lombok") public void setParent(JoinTree parent)
@Generated(value="lombok") public void setParentRelationship(TableRelationship parentRelationship)
@Generated(value="lombok") public void setAlias(String alias)
@Generated(value="lombok") public void setSubtrees(Map<TableRelationship,JoinTree> subtrees)
@Generated(value="lombok") public void setDepthFromRoot(int depthFromRoot)
@Generated(value="lombok") public void setJoinType(org.apache.hadoop.hive.ql.parse.JoinType joinType)
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.