public class LimitedSizeSPARQLMinusIteration extends SPARQLMinusIteration<org.eclipse.rdf4j.query.QueryEvaluationException>
| Constructor and Description |
|---|
LimitedSizeSPARQLMinusIteration(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> leftArg,
org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.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(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> leftArg,
org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.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<org.eclipse.rdf4j.query.BindingSet> |
makeSet(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> rightArg2) |
accept, clearExcludeSet, getRightArg, makeSet, makeSetpublic LimitedSizeSPARQLMinusIteration(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> leftArg,
org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.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(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> leftArg,
org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.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<org.eclipse.rdf4j.query.BindingSet> makeSet(org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,org.eclipse.rdf4j.query.QueryEvaluationException> rightArg2) throws org.eclipse.rdf4j.query.QueryEvaluationException
makeSet in class SPARQLMinusIteration<org.eclipse.rdf4j.query.QueryEvaluationException>org.eclipse.rdf4j.query.QueryEvaluationExceptionprotected void handleClose()
throws org.eclipse.rdf4j.query.QueryEvaluationException
handleClose in class SPARQLMinusIteration<org.eclipse.rdf4j.query.QueryEvaluationException>org.eclipse.rdf4j.query.QueryEvaluationExceptionCopyright © 2015-2019 Eclipse Foundation. All Rights Reserved.