Class AsyncIteratorBuffer
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
-
- org.eclipse.rdf4j.common.iteration.LookAheadIteration<BindingSet>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.AsyncIteratorBuffer
-
- All Implemented Interfaces:
AutoCloseable,Iterator<BindingSet>,CloseableIteration<BindingSet>
@Experimental public class AsyncIteratorBuffer extends LookAheadIteration<BindingSet>
- Author:
- HÃ¥vard M. Ottestad
-
-
Constructor Summary
Constructors Constructor Description AsyncIteratorBuffer(CloseableIteration<BindingSet> iteration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloseableIteration<BindingSet>getInstance(QueryEvaluationStep iterationPrepared, BindingSet bindings, QueryEvaluationContext context)protected BindingSetgetNextElement()protected voidhandleClose()-
Methods inherited from class org.eclipse.rdf4j.common.iteration.LookAheadIteration
hasNext, next, remove
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
AsyncIteratorBuffer
public AsyncIteratorBuffer(CloseableIteration<BindingSet> iteration) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
-
Method Detail
-
getInstance
public static CloseableIteration<BindingSet> getInstance(QueryEvaluationStep iterationPrepared, BindingSet bindings, QueryEvaluationContext context)
-
getNextElement
protected BindingSet getNextElement() throws QueryEvaluationException
- Specified by:
getNextElementin classLookAheadIteration<BindingSet>- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationException- Specified by:
handleClosein classAbstractCloseableIteration<BindingSet>- Throws:
QueryEvaluationException
-
-