Class LimitedSizeBottomUpJoinIterator
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.LookAheadIteration<BindingSet,QueryEvaluationException>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.BottomUpJoinIterator
-
- org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator.LimitedSizeBottomUpJoinIterator
-
- All Implemented Interfaces:
AutoCloseable,CloseableIteration<BindingSet,QueryEvaluationException>,Iteration<BindingSet,QueryEvaluationException>
@Deprecated public class LimitedSizeBottomUpJoinIterator extends BottomUpJoinIterator
Deprecated.replaced by LimitedSizeHashJoinIteration- Author:
- Jerven Bolleman, SIB Swiss Institute of Bioinformatics
-
-
Constructor Summary
Constructors Constructor Description LimitedSizeBottomUpJoinIterator(EvaluationStrategy limitedSizeEvaluationStrategy, Join join, BindingSet bindings, AtomicLong used, long maxSize)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidadd(List<BindingSet> leftArgResults, BindingSet b)Deprecated.protected voidaddAll(List<BindingSet> hashTableValues, List<BindingSet> values)Deprecated.protected voidhandleClose()Deprecated.Called byAbstractCloseableIteration.close()when it is called for the first time.protected voidput(Map<BindingSet,List<BindingSet>> hashTable, BindingSet hashKey, List<BindingSet> hashValue)Deprecated.protected BindingSetremoveFirstElement(List<BindingSet> list)Deprecated.Remove the first (0 index) element from a BindingSet list.-
Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.iterator.BottomUpJoinIterator
clearHashTable, getNextElement, makeList, makeList, makeMap
-
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
-
-
-
-
Constructor Detail
-
LimitedSizeBottomUpJoinIterator
public LimitedSizeBottomUpJoinIterator(EvaluationStrategy limitedSizeEvaluationStrategy, Join join, BindingSet bindings, AtomicLong used, long maxSize) throws QueryEvaluationException
Deprecated.- Parameters:
limitedSizeEvaluationStrategy-join-bindings-used-maxSize-- Throws:
QueryEvaluationException
-
-
Method Detail
-
addAll
protected void addAll(List<BindingSet> hashTableValues, List<BindingSet> values) throws QueryEvaluationException
Deprecated.- Overrides:
addAllin classBottomUpJoinIterator- Throws:
QueryEvaluationException
-
add
protected void add(List<BindingSet> leftArgResults, BindingSet b) throws QueryEvaluationException
Deprecated.- Overrides:
addin classBottomUpJoinIterator- Throws:
QueryEvaluationException
-
removeFirstElement
protected BindingSet removeFirstElement(List<BindingSet> list) throws QueryEvaluationException
Deprecated.Description copied from class:BottomUpJoinIteratorRemove the first (0 index) element from a BindingSet list.- Overrides:
removeFirstElementin classBottomUpJoinIterator- Parameters:
list- which is worked on.- Returns:
- the removed BindingSet
- Throws:
QueryEvaluationException
-
put
protected void put(Map<BindingSet,List<BindingSet>> hashTable, BindingSet hashKey, List<BindingSet> hashValue) throws QueryEvaluationException
Deprecated.- Overrides:
putin classBottomUpJoinIterator- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationExceptionDeprecated.Description copied from class:AbstractCloseableIterationCalled byAbstractCloseableIteration.close()when it is called for the first time. This method is only called once on each iteration. By default, this method does nothing.- Overrides:
handleClosein classBottomUpJoinIterator- Throws:
QueryEvaluationException
-
-