public abstract class AbstractIterator extends Object implements ResultIterator
EagerIterator
,
LazyIterator
Modifier and Type | Field and Description |
---|---|
protected Object[] |
buffer |
protected int |
bufferIndex
The index at which the buffer starts (the global index of the element at buffer[0])
|
protected int |
fetchSize |
protected int |
index
Index of the element that will be returned by next()
|
protected int |
max |
Modifier | Constructor and Description |
---|---|
protected |
AbstractIterator(QueryResultLoader resultLoader,
int fetchSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
protected abstract org.hibernate.search.query.engine.spi.EntityInfo |
loadEntityInfo(int index) |
Object |
next() |
void |
remove()
This method is not supported and should not be used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
protected final Object[] buffer
protected int index
protected int bufferIndex
protected int max
protected final int fetchSize
protected AbstractIterator(QueryResultLoader resultLoader, int fetchSize)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.