All Packages Class Hierarchy This Package Previous Next Index
Class SWEEP.RelationList
java.lang.Object
|
+----SWEEP.RelationList
- public class RelationList
- extends Object
- implements Serializable
RelationList
The Relation here must be unique.
P.S. If the Relations with different Alias, they are different
-
RList
-
-
RelationList()
-
-
add(Relation)
-
Add One Relation in the Relation list.
-
drop(Relation)
- Drop One Relation in the Relation List.
-
find(Relation)
- This function will find the EXACT Relation.
-
getSQL()
- Return the a part of SQL back.
RList
Vector RList
RelationList
public RelationList()
add
public void add(Relation R) throws Exception
- Add One Relation in the Relation list.
drop
public void drop(Relation R) throws Exception
- Drop One Relation in the Relation List.
This function will only drop the EXACTLY Relation from the Relation List
Not by name(, alias). So, it should be another drop(String RName).
find
public boolean find(Relation R) throws Exception
- This function will find the EXACT Relation.
getSQL
public String getSQL()
- Return the a part of SQL back.
The SQL is used for CreateViewUpdate, to make the view at the first time.
E.g If we have view definition like: ... FROM R1, R2 ..., then it return
"R1, R2"
All Packages Class Hierarchy This Package Previous Next Index