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


Variable Index

 o RList

Constructor Index

 o RelationList()

Method Index

 o add(Relation)
Add One Relation in the Relation list.
 o drop(Relation)
Drop One Relation in the Relation List.
 o find(Relation)
This function will find the EXACT Relation.
 o getSQL()
Return the a part of SQL back.

Variables

 o RList
 Vector RList

Constructors

 o RelationList
 public RelationList()

Methods

 o add
 public void add(Relation R) throws Exception
Add One Relation in the Relation list.

 o 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).

 o find
 public boolean find(Relation R) throws Exception
This function will find the EXACT Relation.

 o 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