|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sail.query.StringCompare
A comparison between two strings.
| Field Summary | |
static int |
EQ
equal to |
static int |
NE
not equal to |
| Constructor Summary | |
StringCompare(StringExpr leftArg,
StringExpr rightArg)
|
|
StringCompare(StringExpr leftArg,
StringExpr rightArg,
int op)
|
|
| Method Summary | |
StringExpr |
getLeftArg()
|
int |
getOperator()
|
StringExpr |
getRightArg()
|
void |
getVariables(Collection variables)
Gets all variables that are used in this BooleanExpr. |
boolean |
isTrue(RdfSource rdfSource)
Evaluates the boolean expression on the supplied RdfSource object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int EQ
public static final int NE
| Constructor Detail |
public StringCompare(StringExpr leftArg,
StringExpr rightArg)
public StringCompare(StringExpr leftArg,
StringExpr rightArg,
int op)
| Method Detail |
public StringExpr getLeftArg()
public StringExpr getRightArg()
public int getOperator()
public boolean isTrue(RdfSource rdfSource)
throws SailQueryException
BooleanExpr
isTrue in interface BooleanExprrdfSource - The RdfSource to evaluate the boolean expression against.
SailQueryExceptionpublic void getVariables(Collection variables)
BooleanExpr
getVariables in interface BooleanExprvariables - A Collection to add the Var objects to.public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||