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.


Variable Index

 o JCList
 o RList

Constructor Index

 o JoinList()

Method Index

 o addJC(JoinCondition)
 o addRelation(Relation)
 o dropJC(JoinCondition)
 o dropRelation(Relation)
 o getConditionSQL()
Get SQL format of JoinConditions back.
 o getJCList()
 o getSQL()
Get SQL for this JoinList.

Variables

 o RList
 RelationList RList
 o JCList
 JoinConditionList JCList

Constructors

 o JoinList
 public JoinList()

Methods

 o getJCList
 public JoinConditionList getJCList()
 o addRelation
 public void addRelation(Relation Ref) throws Exception
 o dropRelation
 private void dropRelation(Relation Ref) throws Exception
 o addJC
 public void addJC(JoinCondition JC) throws Exception
 o dropJC
 private void dropJC(JoinCondition JC) throws Exception
 o getSQL
 public String getSQL()
Get SQL for this JoinList. It will return a relation list seperated by ','. It directly called method: RelationList:getSQL().

 o 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