private abstract static class FastHit.SummaryIterator<VALUE> extends Object implements Iterator<VALUE>
Modifier and Type | Field and Description |
---|---|
private Iterator<VALUE> |
currentIterator |
private int |
currentSummaryDataIndex
-1 means that the current iterator is the map iterator of the parent hit, not any summary data iterator
|
private FastHit |
hit |
private VALUE |
previousReturned |
Constructor and Description |
---|
SummaryIterator(FastHit hit,
Iterator<VALUE> mapFieldsIterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
protected abstract Iterator<VALUE> |
iteratorFor(FastHit.SummaryData summary) |
protected abstract String |
nameOf(VALUE value) |
VALUE |
next() |
private boolean |
nextIterator()
Advanced to the next non-empty iterator, if any
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final FastHit hit
private int currentSummaryDataIndex
private VALUE previousReturned
protected abstract Iterator<VALUE> iteratorFor(FastHit.SummaryData summary)
private boolean nextIterator()
Copyright © 2018. All rights reserved.