|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.evaluation.util.QueryEvaluationUtil
public class QueryEvaluationUtil
| Constructor Summary | |
|---|---|
QueryEvaluationUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
compare(Value leftVal,
Value rightVal,
Compare.CompareOp operator)
|
static boolean |
compareLiterals(Literal leftLit,
Literal rightLit,
Compare.CompareOp operator)
|
static boolean |
getEffectiveBooleanValue(Value value)
Determines the effective boolean value (EBV) of the supplied value as defined in the SPARQL specification: The EBV of any literal whose type is xsd:boolean or numeric is false if the lexical form is not valid for that datatype (e.g. |
static boolean |
isPlainLiteral(Value v)
Checks whether the supplied value is a "plain literal". |
static boolean |
isSimpleLiteral(Literal l)
Checks whether the supplied literal is a "simple literal". |
static boolean |
isSimpleLiteral(Value v)
Checks whether the supplied value is a "simple literal". |
static boolean |
isStringLiteral(Literal l)
Checks whether the supplied literal is a "string literal". |
static boolean |
isStringLiteral(Value v)
Checks whether the supplied literal is a "string literal". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryEvaluationUtil()
| Method Detail |
|---|
public static boolean getEffectiveBooleanValue(Value value)
throws ValueExprEvaluationException
value - Some value.
ValueExprEvaluationException - In case the application of the EBV algorithm results in a type
error.
public static boolean compare(Value leftVal,
Value rightVal,
Compare.CompareOp operator)
throws ValueExprEvaluationException
ValueExprEvaluationException
public static boolean compareLiterals(Literal leftLit,
Literal rightLit,
Compare.CompareOp operator)
throws ValueExprEvaluationException
ValueExprEvaluationExceptionpublic static boolean isPlainLiteral(Value v)
http://www.w3.org/TR/REC-rdf-concepts/#dfn-plain-literalpublic static boolean isSimpleLiteral(Value v)
http://www.w3.org/TR/sparql11-query/#simple_literalpublic static boolean isSimpleLiteral(Literal l)
http://www.w3.org/TR/sparql11-query/#simple_literalpublic static boolean isStringLiteral(Value v)
http://www.w3.org/TR/sparql11-query/#func-stringpublic static boolean isStringLiteral(Literal l)
http://www.w3.org/TR/sparql11-query/#func-string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||