Class InsertBindingSetCursor
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet>
org.eclipse.rdf4j.common.iteration.IterationWrapper<BindingSet>
org.eclipse.rdf4j.repository.sparql.query.InsertBindingSetCursor
- All Implemented Interfaces:
AutoCloseable, Iterator<BindingSet>, CloseableIteration<BindingSet>
Adds more bindings to each of the results.
- Author:
- James Leigh
-
Field Summary
Fields inherited from class IterationWrapper
wrappedIterModifier and TypeFieldDescriptionprotected final CloseableIteration<? extends BindingSet> Deprecated.This will be changed to private, possibly with an accessor in future.Fields inherited from interface CloseableIteration
EMPTY_STATEMENT_ITERATION -
Constructor Summary
ConstructorsConstructorDescriptionInsertBindingSetCursor(CloseableIteration<BindingSet> delegate, BindingSet bindings) -
Method Summary
Methods inherited from class IterationWrapper
handleClose, hasNext, removeModifier and TypeMethodDescriptionprotected voidDeprecated.Closes this Iteration and also closes the wrapped Iteration if it is aCloseableIteration.booleanhasNext()Deprecated.Checks whether the wrapped Iteration contains more elements, closing this Iteration when this is not the case.voidremove()Deprecated.Removes the last element that has been returned from the wrapped Iteration.Methods inherited from class AbstractCloseableIteration
close, isClosedModifier and TypeMethodDescriptionfinal voidclose()CallsAbstractCloseableIteration.handleClose()upon first call and makes sure the resource closures are only executed once.final booleanisClosed()Checks whether this CloseableIteration has been closed.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
streamModifier and TypeMethodDescriptiondefault Stream<BindingSet> stream()Convert the results to a Java 8 Stream.Methods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
InsertBindingSetCursor
-
-
Method Details
-
next
Description copied from class:IterationWrapperReturns the next element from the wrapped Iteration.- Specified by:
nextin interfaceIterator<BindingSet>- Overrides:
nextin classIterationWrapper<BindingSet>- Throws:
QueryEvaluationException
-