All Packages Class Hierarchy This Package Previous Next Index
Class SWEEP.JoinList
java.lang.Object
|
+----java.util.Vector
|
+----SWEEP.JoinList
- public class JoinList
- extends Vector
- implements Serializable
JoinList
Join List will hold all the Relations involved in this view.
All the join conditions (Global conditions) of Join
Here, the Join conditions must related to the Relaltion in
the join list, otherwise, we cannot insert that conditions in
our join list.
-
JCList
-
-
RList
-
-
JoinList()
-
-
addJC(JoinCondition)
-
-
addRelation(Relation)
-
-
dropJC(JoinCondition)
-
-
dropRelation(Relation)
-
-
getConditionSQL()
- Get SQL format of JoinConditions back.
-
getJCList()
-
-
getSQL()
- Get SQL for this JoinList.
RList
RelationList RList
JCList
JoinConditionList JCList
JoinList
public JoinList()
getJCList
public JoinConditionList getJCList()
addRelation
public void addRelation(Relation Ref) throws Exception
dropRelation
private void dropRelation(Relation Ref) throws Exception
addJC
public void addJC(JoinCondition JC) throws Exception
dropJC
private void dropJC(JoinCondition JC) throws Exception
getSQL
public String getSQL()
- Get SQL for this JoinList.
It will return a relation list seperated by ','.
It directly called method: RelationList:getSQL().
getConditionSQL
public String getConditionSQL()
- Get SQL format of JoinConditions back.
E.g. ... WHERE R.A = S.B, S.C = T.D ... , will return R.A = S.B, S.C = T.D
It directly called method: JoinConditionList:getSQL()
All Packages Class Hierarchy This Package Previous Next Index