EVEDemo.SWEEP
Class JoinConditionList
java.lang.Object
|
+--EVEDemo.SWEEP.JoinConditionList
- public class JoinConditionList
- extends java.lang.Object
- implements java.io.Serializable
JoinConditionList
- See Also:
- Serialized Form
Field Summary |
(package private) java.util.Vector |
JCList
|
Method Summary |
void |
add(JoinCondition JC)
this function will add one JC to the JC List. |
void |
drop(JoinCondition JC)
This function will simple drop the specific JC |
void |
drop(Relation ref)
This function will drop all the JCs of the specific Relation |
boolean |
find(JoinCondition JC)
This function will only check the EXACT JC whether in JCList |
java.util.Vector |
getJCList()
|
java.lang.String |
getSQL()
This function will Generate a Part of SQL back. |
int |
size()
Get Size of JoinConditionList. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
JCList
java.util.Vector JCList
JoinConditionList
public JoinConditionList()
getJCList
public java.util.Vector getJCList()
drop
public void drop(Relation ref)
throws java.lang.Exception
- This function will drop all the JCs of the specific Relation
drop
public void drop(JoinCondition JC)
throws java.lang.Exception
- This function will simple drop the specific JC
add
public void add(JoinCondition JC)
throws java.lang.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 java.lang.Exception
- This function will only check the EXACT JC whether in JCList
getSQL
public java.lang.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.