public class SPARQLMinusIteration<X extends Exception> extends FilterIteration<BindingSet,X>
wrappedIter| Constructor and Description |
|---|
SPARQLMinusIteration(Iteration<BindingSet,X> leftArg,
Iteration<BindingSet,X> rightArg)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right
argument.
|
SPARQLMinusIteration(Iteration<BindingSet,X> leftArg,
Iteration<BindingSet,X> rightArg,
boolean distinct)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right
argument.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(BindingSet object)
Tests whether or not the specified object should be returned by this Iteration.
|
protected long |
clearExcludeSet() |
protected Iteration<BindingSet,X> |
getRightArg() |
protected void |
handleClose()
Closes this Iteration and also closes the wrapped Iteration if it is a
CloseableIteration. |
protected Set<BindingSet> |
makeSet() |
protected Set<BindingSet> |
makeSet(Iteration<BindingSet,X> rightArg2) |
protected Set<String> |
makeSet(Set<String> set) |
hasNext, nextremoveclose, isClosedpublic SPARQLMinusIteration(Iteration<BindingSet,X> leftArg, Iteration<BindingSet,X> rightArg)
leftArg - An Iteration containing the main set of elements.rightArg - An Iteration containing the set of elements that should be filtered from the main set.public SPARQLMinusIteration(Iteration<BindingSet,X> leftArg, Iteration<BindingSet,X> rightArg, boolean distinct)
leftArg - An Iteration containing the main set of elements.rightArg - An Iteration containing the set of elements that should be filtered from the main set.distinct - Flag indicating whether duplicate elements should be filtered from the result.protected boolean accept(BindingSet object) throws X extends Exception
FilterIterationaccept in class FilterIteration<BindingSet,X extends Exception>object - The object to be tested.XX extends Exceptionprotected Set<BindingSet> makeSet(Iteration<BindingSet,X> rightArg2) throws X extends Exception
protected void handleClose()
throws X extends Exception
IterationWrapperCloseableIteration.handleClose in class FilterIteration<BindingSet,X extends Exception>XX extends Exceptionprotected Iteration<BindingSet,X> getRightArg()
protected long clearExcludeSet()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.