public class BottomUpJoinIterator extends LookAheadIteration<BindingSet,QueryEvaluationException>
| Constructor and Description |
|---|
BottomUpJoinIterator(EvaluationStrategy strategy,
Join join,
BindingSet bindings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(List<BindingSet> leftArgResults,
BindingSet b) |
protected void |
addAll(List<BindingSet> hashTableValues,
List<BindingSet> values) |
protected long |
clearHashTable() |
protected BindingSet |
getNextElement() |
protected void |
handleClose() |
protected List<BindingSet> |
makeList()
Utility methods to make it easier to inserted custom store dependent list
|
protected List<BindingSet> |
makeList(List<BindingSet> key)
Utility methods to make it easier to inserted custom store dependent list
|
protected Map<BindingSet,List<BindingSet>> |
makeMap()
Utility methods to make it easier to inserted custom store dependent maps
|
protected void |
put(Map<BindingSet,List<BindingSet>> hashTable,
BindingSet hashKey,
List<BindingSet> hashValue) |
protected BindingSet |
removeFirstElement(List<BindingSet> list)
Remove the first (0 index) element from a BindingSet list.
|
hasNext, next, removeclose, isClosedpublic BottomUpJoinIterator(EvaluationStrategy strategy, Join join, BindingSet bindings) throws QueryEvaluationException
QueryEvaluationExceptionprotected BindingSet getNextElement() throws QueryEvaluationException
getNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
throws QueryEvaluationException
handleClose in class LookAheadIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected long clearHashTable()
protected void put(Map<BindingSet,List<BindingSet>> hashTable, BindingSet hashKey, List<BindingSet> hashValue) throws QueryEvaluationException
QueryEvaluationExceptionprotected void addAll(List<BindingSet> hashTableValues, List<BindingSet> values) throws QueryEvaluationException
QueryEvaluationExceptionprotected void add(List<BindingSet> leftArgResults, BindingSet b) throws QueryEvaluationException
QueryEvaluationExceptionprotected Map<BindingSet,List<BindingSet>> makeMap()
protected List<BindingSet> makeList()
protected List<BindingSet> makeList(List<BindingSet> key)
protected BindingSet removeFirstElement(List<BindingSet> list) throws QueryEvaluationException
list - which is worked on.QueryEvaluationExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.