| Constructor and Description |
|---|
MorphiaIterator(Iterator<DBObject> it,
Mapper mapper,
Class<T> clazz,
String collection,
EntityCache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected V |
convertItem(DBObject dbObj) |
Class<T> |
getClazz() |
String |
getCollection() |
DBCursor |
getCursor() |
long |
getDriverTime()
Returns the time spent calling the driver in ms
|
Mapper |
getMapper() |
long |
getMapperTime()
Returns the time spent calling the mapper in ms
|
protected DBObject |
getNext() |
boolean |
hasNext() |
Iterator<V> |
iterator() |
V |
next() |
protected V |
processItem(DBObject dbObj) |
void |
remove() |
public String getCollection()
public Mapper getMapper()
protected DBObject getNext()
public long getDriverTime()
public long getMapperTime()
public DBCursor getCursor()
public void close()