public class MorphiumIteratorImpl<T> extends Object implements MorphiumIterator<T>
| Constructor and Description |
|---|
MorphiumIteratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
ahead(int jump)
move the cursor position ahead
|
void |
back(int jump)
get back some positions
|
long |
getCount()
how many elements are to be processed.
|
List<T> |
getCurrentBuffer()
get the current buffer.
|
int |
getCurrentBufferSize()
retruns the number of elements now in buffer.
|
int |
getCursor()
returns current cursor position
|
Query<T> |
getQuery() |
int |
getWindowSize() |
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
void |
remove() |
void |
setQuery(Query<T> q) |
void |
setWindowSize(int sz) |
public void setWindowSize(int sz)
setWindowSize in interface MorphiumIterator<T>public int getWindowSize()
getWindowSize in interface MorphiumIterator<T>public void setQuery(Query<T> q)
setQuery in interface MorphiumIterator<T>public Query<T> getQuery()
getQuery in interface MorphiumIterator<T>public int getCurrentBufferSize()
MorphiumIteratorgetCurrentBufferSize in interface MorphiumIterator<T>public List<T> getCurrentBuffer()
MorphiumIteratorgetCurrentBuffer in interface MorphiumIterator<T>public long getCount()
MorphiumIteratorgetCount in interface MorphiumIterator<T>public int getCursor()
MorphiumIteratorgetCursor in interface MorphiumIterator<T>public void ahead(int jump)
MorphiumIteratorahead in interface MorphiumIterator<T>jump - number of elements to jumppublic void back(int jump)
MorphiumIteratorback in interface MorphiumIterator<T>jump - number of elements to jump backCopyright © 2013. All Rights Reserved.