Modifier and Type | Method and Description |
---|---|
Value |
EvaluationStrategy.evaluate(ValueExpr expr,
BindingSet bindings)
Gets the value of this expression.
|
boolean |
EvaluationStrategy.isTrue(ValueExpr expr,
BindingSet bindings)
Evaluates the boolean expression on the supplied TripleSource object.
|
Modifier and Type | Method and Description |
---|---|
Value |
UnaryFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Function.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
BinaryFunction.evaluate(ValueFactory valueFactory,
Value... args) |
protected abstract Value |
UnaryFunction.evaluate(ValueFactory valueFactory,
Value arg) |
protected abstract Value |
BinaryFunction.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
Modifier and Type | Method and Description |
---|---|
Literal |
Year.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Tz.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Timezone.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Seconds.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Now.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Month.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Minutes.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Hours.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Day.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
Value |
SRID.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Relate.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Distance.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Buffer.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
Literal |
SHA512.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
SHA384.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
SHA256.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
SHA1.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
MD5.evaluate(ValueFactory valueFactory,
Value... args) |
abstract Literal |
HashFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
Literal |
Round.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Rand.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Floor.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Ceil.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Abs.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
IRI |
UUID.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrLang.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrDt.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
STRUUID.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
Literal |
UpperCase.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Substring.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrStarts.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrLen.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrEnds.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrBefore.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
StrAfter.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Replace.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
LowerCase.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
EncodeForUri.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Contains.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Concat.evaluate(ValueFactory valueFactory,
Value... args) |
static int |
Substring.intFromLiteral(Literal literal) |
Modifier and Type | Method and Description |
---|---|
protected ValueExprEvaluationException |
CastFunction.typeError(Value arg,
Throwable cause)
Creates a
ValueExprEvaluationException that signals a type error. |
Modifier and Type | Method and Description |
---|---|
protected Literal |
StringCast.convert(ValueFactory valueFactory,
Value value) |
protected Literal |
IntegerCastFunction.convert(ValueFactory valueFactory,
Value value) |
protected Literal |
FloatCast.convert(ValueFactory valueFactory,
Value value) |
protected Literal |
DoubleCast.convert(ValueFactory valueFactory,
Value value) |
protected Literal |
DecimalCast.convert(ValueFactory valueFactory,
Value value) |
protected Literal |
DateTimeCast.convert(ValueFactory vf,
Value value) |
protected abstract Literal |
CastFunction.convert(ValueFactory vf,
Value v)
Convert the supplied value to a literal of the function output datatype.
|
protected Literal |
BooleanCast.convert(ValueFactory valueFactory,
Value value) |
Literal |
StringCast.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
CastFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Modifier and Type | Method and Description |
---|---|
Value |
StrictEvaluationStrategy.evaluate(And node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(BNodeGenerator node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Coalesce node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(CompareAll node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(CompareAny node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Compare node,
BindingSet bindings) |
Value |
ExtendedEvaluationStrategy.evaluate(Compare node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Datatype node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Exists node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(FunctionCall node,
BindingSet bindings)
Evaluates a function.
|
Value |
StrictEvaluationStrategy.evaluate(In node,
BindingSet bindings) |
IRI |
StrictEvaluationStrategy.evaluate(IRIFunction node,
BindingSet bindings)
Creates a URI from the operand value (a plain literal or a URI).
|
Value |
StrictEvaluationStrategy.evaluate(IsBNode node,
BindingSet bindings)
Determines whether the operand (a variable) contains a BNode.
|
Value |
StrictEvaluationStrategy.evaluate(IsLiteral node,
BindingSet bindings)
Determines whether the operand (a variable) contains a Literal.
|
Value |
StrictEvaluationStrategy.evaluate(IsNumeric node,
BindingSet bindings)
Determines whether the operand (a variable) contains a numeric datatyped literal, i.e.
|
Value |
StrictEvaluationStrategy.evaluate(IsResource node,
BindingSet bindings)
Determines whether the operand (a variable) contains a Resource.
|
Value |
StrictEvaluationStrategy.evaluate(IsURI node,
BindingSet bindings)
Determines whether the operand (a variable) contains a URI.
|
Value |
StrictEvaluationStrategy.evaluate(Label node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Lang node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(LangMatches node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Like node,
BindingSet bindings)
Determines whether the two operands match according to the
like operator. |
Value |
StrictEvaluationStrategy.evaluate(ListMemberOperator node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(LocalName node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(MathExpr node,
BindingSet bindings) |
Value |
ExtendedEvaluationStrategy.evaluate(MathExpr node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Namespace node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Not node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Now node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Or node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Regex node,
BindingSet bindings)
Determines whether the two operands match according to the
regex operator. |
Value |
StrictEvaluationStrategy.evaluate(SameTerm node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Str node,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(ValueConstant valueConstant,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(ValueExpr expr,
BindingSet bindings) |
Value |
StrictEvaluationStrategy.evaluate(Var var,
BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
static boolean |
QueryEvaluationUtil.compare(Value leftVal,
Value rightVal,
Compare.CompareOp operator) |
static boolean |
QueryEvaluationUtil.compare(Value leftVal,
Value rightVal,
Compare.CompareOp operator,
boolean strict) |
static boolean |
QueryEvaluationUtil.compareLiterals(Literal leftLit,
Literal rightLit,
Compare.CompareOp operator)
Compares the supplied
Literal arguments using the supplied operator, using strict (minimally-conforming)
SPARQL 1.1 operator behavior. |
static boolean |
QueryEvaluationUtil.compareLiterals(Literal leftLit,
Literal rightLit,
Compare.CompareOp operator,
boolean strict)
Compares the supplied
Literal arguments using the supplied operator. |
static Literal |
XMLDatatypeMathUtil.compute(Literal leftLit,
Literal rightLit,
MathExpr.MathOp op)
Computes the result of applying the supplied math operator on the supplied left and right operand.
|
static Literal |
MathUtil.compute(Literal leftLit,
Literal rightLit,
MathExpr.MathOp op)
Computes the result of applying the supplied math operator on the supplied left and right operand.
|
static boolean |
QueryEvaluationUtil.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.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
EvalFunction.addArguments(Query query,
Value... args) |
protected static void |
AbstractSpinFunction.addBindings(Query query,
Value... args) |
Value |
SpinxFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
SpinFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
ObjectFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
EvalFunction.evaluate(ValueFactory valueFactory,
Value... args) |
Literal |
Concat.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
AskFunction.evaluate(ValueFactory valueFactory,
Value... args) |
protected Value |
Not.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
Localname.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
Subtract.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Or.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
NotEqualTo.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Multiply.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
LessThanOrEqualTo.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
LessThan.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
GreaterThanOrEqualTo.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
GreaterThan.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
EqualTo.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Divide.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
And.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Add.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
Modifier and Type | Method and Description |
---|---|
Value |
ReplaceAll.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Random.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Name.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
LastIndexOf.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
Invoke.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
IndexOf.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
HasAllObjects.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
GenerateUUID.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
EncodeURL.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
DecodeURL.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
CurrentTimeMillis.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
ConvertSpinRDFToString.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
CanInvoke.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
BuildURI.evaluate(ValueFactory valueFactory,
Value... args) |
Value |
BuildString.evaluate(ValueFactory valueFactory,
Value... args) |
protected Value |
UnCamelCase.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
Trim.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
TimeMillis.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
IsValidURI.evaluate(ValueFactory valueFactory,
Value arg) |
protected Value |
ParseDate.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Mod.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
DecimalFormat.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
DateFormat.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
protected Value |
Cast.evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.