|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.rql.model.CompareTo
Comparison operators on various types of operands.
| Field Summary | |
static int |
EQ
EQual * |
static int |
GE
Larger or Equal * |
static int |
GT
Larger Than * |
static int |
LE
Lower or Equal * |
static int |
LT
Lower Than * |
static int |
NE
Not Equal * |
| Constructor Summary | |
CompareTo(ResourceQuery arg1,
int op,
ResourceQuery arg2)
|
|
| Method Summary | |
ResourceQuery |
getArg1()
|
ResourceQuery |
getArg2()
|
int |
getOperator()
|
String |
getQuery()
|
boolean |
isTrue(RdfSchemaSource rss)
Determines what the boolean value of the comparison operator is. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int LT
public static final int LE
public static final int EQ
public static final int GE
public static final int GT
public static final int NE
| Constructor Detail |
public CompareTo(ResourceQuery arg1,
int op,
ResourceQuery arg2)
| Method Detail |
public ResourceQuery getArg1()
public ResourceQuery getArg2()
public int getOperator()
public boolean isTrue(RdfSchemaSource rss)
throws QueryEvaluationException
false.
isTrue in interface BooleanQueryrss - the repository abstraction layer on which the query needs to be
evaluated.
true when the selected comparison operator
evaluates to true,false otherwise.
QueryEvaluationException - is thrown when the comparison is between a set and a single
element, or when a variable has no assigned value.public String getQuery()
getQuery in interface Querypublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||