All Packages Class Hierarchy This Package Previous Next Index
Class SWEEP.JoinCondition
java.lang.Object
|
+----SWEEP.JoinCondition
- public class JoinCondition
- extends Object
- implements Serializable
This function will represent the formula Operand1 Op Operand2.
Here Operands are Attribute, and Op could be '='. Here I remain
use Operator class is for future that we can add '>', '<',
'>=', '<=' operators.
-
Op
-
-
Oprand1
-
-
Oprand2
-
-
JoinCondition(Attribute, Operator, Attribute)
-
-
dependsOn(RelationList)
- test if the JC is fully dependes on the Relation List.
-
getOpd1()
-
-
getOpd2()
-
-
getSQL()
- Generate a part of SQL.
-
refers(Relation)
- Test if a Relation is involved in this Join Condition.
Oprand1
Attribute Oprand1
Oprand2
Attribute Oprand2
Op
Operator Op
JoinCondition
public JoinCondition(Attribute Attr1,
Operator newOp,
Attribute Attr2) throws Exception
getOpd1
public Attribute getOpd1()
getOpd2
public Attribute getOpd2()
dependsOn
public boolean dependsOn(RelationList RList) throws Exception
- test if the JC is fully dependes on the Relation List.
It used for checking if a new JC is defined on the Relation List of Join List of
a PSJ View. If used for preventing some inconsistency between Relation List and
a Join Condition List.
refers
public boolean refers(Relation Ref) throws Exception
- Test if a Relation is involved in this Join Condition.
getSQL
public String getSQL()
- Generate a part of SQL.
Convert Join Condition to : R.A = S.B
All Packages Class Hierarchy This Package Previous Next Index