public class LimitedSizeHashJoinIteration extends HashJoinIteration
joinAttributes
Constructor and Description |
---|
LimitedSizeHashJoinIteration(EvaluationStrategy limitedSizeEvaluationStrategy,
Join join,
BindingSet bindings,
AtomicLong used,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
protected <E> void |
add(Collection<E> col,
E value) |
protected <E> void |
addAll(Collection<E> col,
List<E> values) |
protected void |
disposeHashTable(Map<BindingSetHashKey,List<BindingSet>> map)
Utility methods to clear-up in case not using in-memory hash table.
|
protected <E> E |
nextFromCache(Iterator<E> iter) |
protected void |
putHashTableEntry(Map<BindingSetHashKey,List<BindingSet>> hashTable,
BindingSetHashKey hashKey,
List<BindingSet> hashValue) |
closeHashValue, disposeCache, getNextElement, handleClose, makeHashTable, makeHashValue, makeIterationCache, putHashTableEntry
hasNext, next, remove
close, isClosed
public LimitedSizeHashJoinIteration(EvaluationStrategy limitedSizeEvaluationStrategy, Join join, BindingSet bindings, AtomicLong used, long maxSize) throws QueryEvaluationException
QueryEvaluationException
protected <E> E nextFromCache(Iterator<E> iter)
nextFromCache
in class HashJoinIteration
protected <E> void add(Collection<E> col, E value) throws QueryEvaluationException
add
in class HashJoinIteration
QueryEvaluationException
protected <E> void addAll(Collection<E> col, List<E> values) throws QueryEvaluationException
addAll
in class HashJoinIteration
QueryEvaluationException
protected void putHashTableEntry(Map<BindingSetHashKey,List<BindingSet>> hashTable, BindingSetHashKey hashKey, List<BindingSet> hashValue) throws QueryEvaluationException
QueryEvaluationException
protected void disposeHashTable(Map<BindingSetHashKey,List<BindingSet>> map)
HashJoinIteration
disposeHashTable
in class HashJoinIteration
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.