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 void
add(List<BindingSet> leftArgResults, BindingSet b)
Deprecated.protected void
addAll(List<BindingSet> hashTableValues, List<BindingSet> values)
Deprecated.protected void
handleClose()
Deprecated.Called byAbstractCloseableIteration.close()
when it is called for the first time.protected void
put(Map<BindingSet,List<BindingSet>> hashTable, BindingSet hashKey, List<BindingSet> hashValue)
Deprecated.protected BindingSet
removeFirstElement(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:
addAll
in classBottomUpJoinIterator
- Throws:
QueryEvaluationException
-
add
protected void add(List<BindingSet> leftArgResults, BindingSet b) throws QueryEvaluationException
Deprecated.- Overrides:
add
in classBottomUpJoinIterator
- Throws:
QueryEvaluationException
-
removeFirstElement
protected BindingSet removeFirstElement(List<BindingSet> list) throws QueryEvaluationException
Deprecated.Description copied from class:BottomUpJoinIterator
Remove the first (0 index) element from a BindingSet list.- Overrides:
removeFirstElement
in 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:
put
in classBottomUpJoinIterator
- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationException
Deprecated.Description copied from class:AbstractCloseableIteration
Called 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:
handleClose
in classBottomUpJoinIterator
- Throws:
QueryEvaluationException
-
-