public class DefaultMongoDataIterator extends Object implements DataIterator<Object>
Constructor and Description |
---|
DefaultMongoDataIterator(com.mongodb.DBCursor iterator,
SpaceTypeDescriptor typeDescriptor,
boolean prefferPojo) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Clean up after any resources associated with this iterator The iterator can be closed even if
the iterator wasn't iterated over all of its elements.
|
boolean |
hasNext() |
Object |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public DefaultMongoDataIterator(com.mongodb.DBCursor iterator, SpaceTypeDescriptor typeDescriptor, boolean prefferPojo)
public void close()
DataIterator
close
in interface DataIterator<Object>
Copyright © GigaSpaces.