| Constructor and Description |
|---|
MorphiaKeyIterator(Datastore datastore,
DBCursor cursor,
Mapper mapper,
Class<T> clazz,
String collection)
Create
|
| Modifier and Type | Method and Description |
|---|---|
protected Key<T> |
convertItem(DBObject dbObj) |
close, getClazz, getCollection, getCursor, getDriverTime, getMapper, getMapperTime, getNext, hasNext, iterator, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic MorphiaKeyIterator(Datastore datastore, DBCursor cursor, Mapper mapper, Class<T> clazz, String collection)
datastore - the Datastore to use when fetching this referencecursor - the cursor to usemapper - the Mapper to useclazz - the original type being iteratedcollection - the mongodb collectionprotected Key<T> convertItem(DBObject dbObj)
convertItem in class MorphiaIterator<T,Key<T>>