org.openrdf.sail.rdbms.evaluation
Class RdbmsEvaluation

java.lang.Object
  extended by org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
      extended by org.openrdf.sail.rdbms.evaluation.RdbmsEvaluation
All Implemented Interfaces:
EvaluationStrategy

public class RdbmsEvaluation
extends EvaluationStrategyImpl

Extends the default strategy by accepting SelectQuery and evaluating them on a database.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
dataset, tripleSource
 
Constructor Summary
RdbmsEvaluation(QueryBuilderFactory factory, RdbmsTripleRepository triples, Dataset dataset, IdSequence ids)
           
 
Method Summary
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr, BindingSet bindings)
          Evaluates the tuple expression against the supplied triple source with the specified set of variable bindings as input.
 
Methods inherited from class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, getVarValue, isTrue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbmsEvaluation

public RdbmsEvaluation(QueryBuilderFactory factory,
                       RdbmsTripleRepository triples,
                       Dataset dataset,
                       IdSequence ids)
Method Detail

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Description copied from interface: EvaluationStrategy
Evaluates the tuple expression against the supplied triple source with the specified set of variable bindings as input.

Specified by:
evaluate in interface EvaluationStrategy
Overrides:
evaluate in class EvaluationStrategyImpl
Parameters:
expr - The Tuple Expression to evaluate
bindings - The variables bindings to use for evaluating the expression, if applicable.
Returns:
A closeable iterator over the variable binding sets that match the tuple expression.
Throws:
QueryEvaluationException


Copyright © 2001-2008 Aduna. All Rights Reserved.