org.openrdf.sail.federation.evaluation
Class FederationStrategy

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

public class FederationStrategy
extends EvaluationStrategyImpl

Evaluates Join, LeftJoin and Union in parallel and only evaluate if OwnedTupleExpr is the given member.

Author:
James Leigh
See Also:
ParallelJoinCursor, ParallelLeftJoinCursor

Field Summary
 
Fields inherited from class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
dataset, tripleSource
 
Constructor Summary
FederationStrategy(Executor executor, TripleSource tripleSource, Dataset dataset)
           
 
Method Summary
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Join join, BindingSet bindings)
           
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(LeftJoin leftJoin, BindingSet bindings)
           
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(NaryJoin join, BindingSet bindings)
           
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr, BindingSet bindings)
           
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Union union, BindingSet bindings)
           
 
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, getVarValue, isTrue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FederationStrategy

public FederationStrategy(Executor executor,
                          TripleSource tripleSource,
                          Dataset dataset)
Method Detail

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Specified by:
evaluate in interface EvaluationStrategy
Overrides:
evaluate in class EvaluationStrategyImpl
Throws:
QueryEvaluationException

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Join join,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Overrides:
evaluate in class EvaluationStrategyImpl
Throws:
QueryEvaluationException

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(NaryJoin join,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Throws:
QueryEvaluationException

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(LeftJoin leftJoin,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Overrides:
evaluate in class EvaluationStrategyImpl
Throws:
QueryEvaluationException

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Union union,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Overrides:
evaluate in class EvaluationStrategyImpl
Throws:
QueryEvaluationException


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.