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


Variable Index

 o JCList

Constructor Index

 o JoinConditionList()

Method Index

 o add(JoinCondition)
this function will add one JC to the JC List.
 o drop(JoinCondition)
This function will simple drop the specific JC
 o drop(Relation)
This function will drop all the JCs of the specific Relation
 o find(JoinCondition)
This function will only check the EXACT JC whether in JCList
 o getJCList()
 o getSQL()
This function will Generate a Part of SQL back.
 o size()
Get Size of JoinConditionList.

Variables

 o JCList
 Vector JCList

Constructors

 o JoinConditionList
 public JoinConditionList()

Methods

 o getJCList
 public Vector getJCList()
 o drop
 public void drop(Relation ref) throws Exception
This function will drop all the JCs of the specific Relation

 o drop
 public void drop(JoinCondition JC) throws Exception
This function will simple drop the specific JC

 o 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

 o find
 public boolean find(JoinCondition JC) throws Exception
This function will only check the EXACT JC whether in JCList

 o 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

 o size
 public int size()
Get Size of JoinConditionList.


All Packages  Class Hierarchy  This Package  Previous  Next  Index