org.openrdf.sail.federation.evaluation
Class ParallelLeftJoinCursor

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<E,X>
      extended by info.aduna.iteration.LookAheadIteration<BindingSet,QueryEvaluationException>
          extended by org.openrdf.sail.federation.evaluation.ParallelLeftJoinCursor
All Implemented Interfaces:
CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>, Runnable

public class ParallelLeftJoinCursor
extends LookAheadIteration<BindingSet,QueryEvaluationException>
implements Runnable

Transform the condition into a filter and the right side into an AlternativeCursor, then evaluate as a ParallelJoinCursor.

Author:
James Leigh

Constructor Summary
ParallelLeftJoinCursor(EvaluationStrategy strategy, LeftJoin join, BindingSet bindings)
           
 
Method Summary
 BindingSet getNextElement()
           
 void handleClose()
           
 void run()
           
 String toString()
           
 
Methods inherited from class info.aduna.iteration.LookAheadIteration
hasNext, next, remove
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParallelLeftJoinCursor

public ParallelLeftJoinCursor(EvaluationStrategy strategy,
                              LeftJoin join,
                              BindingSet bindings)
                       throws QueryEvaluationException
Throws:
QueryEvaluationException
Method Detail

run

public void run()
Specified by:
run in interface Runnable

getNextElement

public BindingSet getNextElement()
                          throws QueryEvaluationException
Specified by:
getNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>
Throws:
QueryEvaluationException

handleClose

public void handleClose()
                 throws QueryEvaluationException
Overrides:
handleClose in class LookAheadIteration<BindingSet,QueryEvaluationException>
Throws:
QueryEvaluationException

toString

public String toString()
Overrides:
toString in class Object


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