public class LimitedSizeHashJoinIteration extends HashJoinIteration
joinAttributes| Constructor and Description |
|---|
LimitedSizeHashJoinIteration(EvaluationStrategy limitedSizeEvaluationStrategy,
org.eclipse.rdf4j.query.algebra.Join join,
org.eclipse.rdf4j.query.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<org.eclipse.rdf4j.query.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<org.eclipse.rdf4j.query.BindingSet>> hashTable,
BindingSetHashKey hashKey,
List<org.eclipse.rdf4j.query.BindingSet> hashValue) |
closeHashValue, disposeCache, getNextElement, handleClose, makeHashTable, makeHashValue, makeIterationCache, putHashTableEntryhasNext, next, removepublic LimitedSizeHashJoinIteration(EvaluationStrategy limitedSizeEvaluationStrategy, org.eclipse.rdf4j.query.algebra.Join join, org.eclipse.rdf4j.query.BindingSet bindings, AtomicLong used, long maxSize) throws org.eclipse.rdf4j.query.QueryEvaluationException
org.eclipse.rdf4j.query.QueryEvaluationExceptionprotected <E> E nextFromCache(Iterator<E> iter)
nextFromCache in class HashJoinIterationprotected <E> void add(Collection<E> col, E value) throws org.eclipse.rdf4j.query.QueryEvaluationException
add in class HashJoinIterationorg.eclipse.rdf4j.query.QueryEvaluationExceptionprotected <E> void addAll(Collection<E> col, List<E> values) throws org.eclipse.rdf4j.query.QueryEvaluationException
addAll in class HashJoinIterationorg.eclipse.rdf4j.query.QueryEvaluationExceptionprotected void putHashTableEntry(Map<BindingSetHashKey,List<org.eclipse.rdf4j.query.BindingSet>> hashTable, BindingSetHashKey hashKey, List<org.eclipse.rdf4j.query.BindingSet> hashValue) throws org.eclipse.rdf4j.query.QueryEvaluationException
org.eclipse.rdf4j.query.QueryEvaluationExceptionprotected void disposeHashTable(Map<BindingSetHashKey,List<org.eclipse.rdf4j.query.BindingSet>> map)
HashJoinIterationdisposeHashTable in class HashJoinIterationCopyright © 2015-2019 Eclipse Foundation. All Rights Reserved.