public class LimitedSizeSPARQLMinusIteration extends SPARQLMinusIteration<QueryEvaluationException>
wrappedIter
Constructor and Description |
---|
LimitedSizeSPARQLMinusIteration(Iteration<BindingSet,QueryEvaluationException> leftArg,
Iteration<BindingSet,QueryEvaluationException> rightArg,
AtomicLong used,
long maxSize)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right
argument.
|
LimitedSizeSPARQLMinusIteration(Iteration<BindingSet,QueryEvaluationException> leftArg,
Iteration<BindingSet,QueryEvaluationException> rightArg,
boolean distinct,
AtomicLong used,
long maxSize)
Creates a new SPARQLMinusIteration that returns the results of the left argument minus the results of the right
argument.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleClose()
After closing the set is cleared and any "used" capacity for collections is returned.
|
protected Set<BindingSet> |
makeSet(Iteration<BindingSet,QueryEvaluationException> rightArg2) |
accept, clearExcludeSet, getRightArg, makeSet, makeSet
hasNext, next
remove
close, isClosed
public LimitedSizeSPARQLMinusIteration(Iteration<BindingSet,QueryEvaluationException> leftArg, Iteration<BindingSet,QueryEvaluationException> rightArg, AtomicLong used, long maxSize)
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. * @param
used An atomic long used to monitor how many elements are in the set collections.used
- An atomic long used to monitor how many elements are in the set collections.maxSize
- Maximum size allowed by the sum of all collections used by the LimitedSizeQueryEvaluatlion.public LimitedSizeSPARQLMinusIteration(Iteration<BindingSet,QueryEvaluationException> leftArg, Iteration<BindingSet,QueryEvaluationException> rightArg, boolean distinct, AtomicLong used, long maxSize)
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.used
- An atomic long used to monitor how many elements are in the set collections.maxSize
- Maximum size allowed by the sum of all collections used by the LimitedSizeQueryEvaluatlion.protected Set<BindingSet> makeSet(Iteration<BindingSet,QueryEvaluationException> rightArg2) throws QueryEvaluationException
makeSet
in class SPARQLMinusIteration<QueryEvaluationException>
QueryEvaluationException
protected void handleClose() throws QueryEvaluationException
handleClose
in class SPARQLMinusIteration<QueryEvaluationException>
QueryEvaluationException
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.