|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DSRG.VKB.Condition | +--DSRG.VKB.Join_Condition
Join Condition of view Definition. It's a part of WHERE clause. It will help on query break down.
It will confirm the op is in this direction "<", "<=", if the op is "==" and "!=", the two attribute with smaller value on the left.
Field Summary | |
(package private) Attribute |
right
Second Operand |
Fields inherited from class DSRG.VKB.Condition |
left,
op |
Constructor Summary | |
Join_Condition()
Default Constructor. |
|
Join_Condition(Attribute la,
Attribute ra)
Constructor of Join_Conditon. |
Method Summary | |
java.lang.Object |
clone()
Clone Join Condition. |
boolean |
contains(IS is)
Check if specific IS in this condition. |
boolean |
contains(Relation rel)
Check if specific relation in this condition. |
boolean |
contains(java.lang.String attr_name)
check if specific attribute in this condition |
boolean |
equals(Join_Condition jc)
Check if this join -conditoin is equivalent with another join Condition. |
java.lang.String |
getNoIS()
Function to get String of Condition with out IS info in it. |
Attribute |
getRight()
Get right attribute. |
java.lang.String |
getRightName()
Get right attribute name in format "IS.R.A" |
void |
setOperand(java.lang.Object attr)
Set Second Operand |
void |
setRight(Attribute attr)
Set right attribute. |
java.lang.String |
toString()
convert join-condition to string |
boolean |
valid()
Test if the left attribute same as the right attribute. |
Methods inherited from class DSRG.VKB.Condition |
getLeft,
getLeftName,
getOperator,
setAttribute,
setOperator |
Methods inherited from class java.lang.Object |
|
Field Detail |
Attribute right
Constructor Detail |
public Join_Condition()
public Join_Condition(Attribute la, Attribute ra)
la
- left attributera
- right attribute.Method Detail |
public java.lang.String getRightName()
public void setOperand(java.lang.Object attr)
attr
- Object of Attribute;public java.lang.String toString()
public boolean equals(Join_Condition jc)
public boolean contains(java.lang.String attr_name)
attr_name
- in format "IS.R.A"public boolean contains(Relation rel)
Rel
- the specific Relation.public boolean contains(IS is)
IS
- the specific IS.public Attribute getRight()
public void setRight(Attribute attr)
public java.lang.String getNoIS()
public boolean valid()
public java.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |