All Packages Class Hierarchy This Package Previous Next Index
Class SWEEP.JoinConditionList
java.lang.Object
|
+----SWEEP.JoinConditionList
- public class JoinConditionList
- extends Object
- implements Serializable
JoinConditionList
-
JCList
-
-
JoinConditionList()
-
-
add(JoinCondition)
- this function will add one JC to the JC List.
-
drop(JoinCondition)
- This function will simple drop the specific JC
-
drop(Relation)
- This function will drop all the JCs of the specific Relation
-
find(JoinCondition)
- This function will only check the EXACT JC whether in JCList
-
getJCList()
-
-
getSQL()
- This function will Generate a Part of SQL back.
-
size()
- Get Size of JoinConditionList.
JCList
Vector JCList
JoinConditionList
public JoinConditionList()
getJCList
public Vector getJCList()
drop
public void drop(Relation ref) throws Exception
- This function will drop all the JCs of the specific Relation
drop
public void drop(JoinCondition JC) throws Exception
- This function will simple drop the specific JC
add
public void add(JoinCondition JC) throws Exception
- this function will add one JC to the JC List.
The JC in the JCList must be unique
find
public boolean find(JoinCondition JC) throws Exception
- This function will only check the EXACT JC whether in JCList
getSQL
public String getSQL()
- This function will Generate a Part of SQL back.
This part of SQL will join in SQL of View Definition:
E.g. ... WHERE B.A = C.D and D.E = F.G, it will returns B.A = C.D and D.E = F.G
size
public int size()
- Get Size of JoinConditionList.
All Packages Class Hierarchy This Package Previous Next Index