EVEDemo.SWEEP
Class JoinCondition
java.lang.Object
|
+--EVEDemo.SWEEP.JoinCondition
- public class JoinCondition
- extends java.lang.Object
- implements java.io.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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Oprand1
Attribute Oprand1
Oprand2
Attribute Oprand2
Op
Operator Op
JoinCondition
public JoinCondition(Attribute Attr1,
Operator newOp,
Attribute Attr2)
throws java.lang.Exception
getOpd1
public Attribute getOpd1()
getOpd2
public Attribute getOpd2()
dependsOn
public boolean dependsOn(RelationList RList)
throws java.lang.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 java.lang.Exception
- Test if a Relation is involved in this Join Condition.
getSQL
public java.lang.String getSQL()
- Generate a part of SQL.
Convert Join Condition to : R.A = S.B