|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
public class EvaluationStrategyImpl
Evaluates the TupleExpr and ValueExpr using Iterators and common tripleSource API.
| Constructor Summary | |
|---|---|
EvaluationStrategyImpl(TripleSource tripleSource)
|
|
EvaluationStrategyImpl(TripleSource tripleSource,
Dataset dataset)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluationStrategyImpl(TripleSource tripleSource)
public EvaluationStrategyImpl(TripleSource tripleSource,
Dataset dataset)
| Method Detail |
|---|
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr,
BindingSet bindings)
throws QueryEvaluationException
EvaluationStrategy
evaluate in interface EvaluationStrategyexpr - The Tuple Expression to evaluatebindings - The variables bindings to use for evaluating the expression, if
applicable.
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(StatementPattern sp,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(UnaryTupleOperator expr,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Projection projection,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(MultiProjection multiProjection,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Filter filter,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Slice slice,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Extension extension,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Distinct distinct,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Group node,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Order node,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(BinaryTupleOperator expr,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Join join,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(LeftJoin leftJoin,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Union union,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Intersection intersection,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Difference difference,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(SingletonSet singletonSet,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(EmptySet emptySet,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public Value evaluate(ValueExpr expr,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
EvaluationStrategy
evaluate in interface EvaluationStrategybindings - The variables bindings to use for evaluating the expression, if
applicable.
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Var var,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(ValueConstant valueConstant,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(BNodeGenerator node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Bound node,
BindingSet bindings)
throws QueryEvaluationException
QueryEvaluationException
public Value evaluate(Str node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Label node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Lang node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Datatype node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Namespace node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(LocalName node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(IsResource node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(IsURI node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(IsBNode node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(IsLiteral node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Regex node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
regex operator.
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(LangMatches node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Like node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
like operator. The operator is defined as a string
comparison with the possible use of an asterisk (*) at the end and/or the
start of the second operand to indicate substring matching.
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(FunctionCall node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(And node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Or node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Not node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(SameTerm node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Compare node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(MathExpr node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(In node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(CompareAny node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(CompareAll node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public Value evaluate(Exists node,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
ValueExprEvaluationException
QueryEvaluationException
public boolean isTrue(ValueExpr expr,
BindingSet bindings)
throws QueryEvaluationException
EvaluationStrategy
isTrue in interface EvaluationStrategybindings - The variables bindings to use for evaluating the expression, if
applicable.
ValueExprEvaluationException - If the value expression could not be evaluated, for example when
comparing two incompatible operands. When thrown, the result of
the boolean expression is neither true nor
false, but unknown.