|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.wbem.query.QueryExp
|
+--javax.wbem.query.BinaryRelQueryExp
Class representing binary relations between non-boolean operands.
v1 relop v2, where
relop is <, >, <=, >=, ==, like, not like
| Constructor Summary | |
BinaryRelQueryExp()
Empty constructor. |
|
BinaryRelQueryExp(int op,
ValueExp v1,
ValueExp v2)
Constructor for binary relations. |
|
| Method Summary | |
boolean |
apply(CIMElement obj)
returns true if the 'columns' of the input 'row' satisfy the binary relation. |
ValueExp |
getLeftValue()
Accessor for left value |
int |
getOperator()
Accessor for the relational operation |
ValueExp |
getRightValue()
Accessor for right value |
java.lang.String |
toString()
|
| Methods inherited from class javax.wbem.query.QueryExp |
canonizeCOD, canonizeDOC |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BinaryRelQueryExp(int op,
ValueExp v1,
ValueExp v2)
op - Represents the relation between operands.v1 - The left valueExp. It is assumed that the left value is
always a attribute.v2 - The right valueExp. It is assumed that the right value is
a constant value expression like StringValueExp.public BinaryRelQueryExp()
| Method Detail |
public int getOperator()
public ValueExp getLeftValue()
public ValueExp getRightValue()
public boolean apply(CIMElement obj)
throws CIMException
apply in class QueryExpCIMElement - - the input row. Only CIMInstance is supported.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||