Package dev.morphia.query.internal
Class MorphiaCursor<T>
- java.lang.Object
-
- dev.morphia.query.MorphiaCursor<T>
-
- dev.morphia.query.internal.MorphiaCursor<T>
-
- Type Parameters:
T
- the original type being iterated
- All Implemented Interfaces:
com.mongodb.client.MongoCursor<T>
,Closeable
,AutoCloseable
,Iterator<T>
@Deprecated(forRemoval=true) public class MorphiaCursor<T> extends MorphiaCursor<T>
Deprecated, for removal: This API element is subject to removal in a future version.useMorphiaCursor
insteadDeveloper note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description MorphiaCursor(com.mongodb.client.MongoCursor<T> cursor)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a MorphiaCursor
-
Method Summary
-
Methods inherited from class dev.morphia.query.MorphiaCursor
close, getServerAddress, getServerCursor, hasNext, next, remove, toList, tryNext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
MorphiaCursor
public MorphiaCursor(com.mongodb.client.MongoCursor<T> cursor)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a MorphiaCursor- Parameters:
cursor
- the Iterator to use
-
-