public class VitamMongoCursor<T> extends Object implements com.mongodb.client.MongoCursor
| Constructor and Description |
|---|
VitamMongoCursor(com.mongodb.client.MongoCursor<T> cursor) |
VitamMongoCursor(com.mongodb.client.MongoCursor<T> cursor,
long total,
String scrollId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getScrollId() |
com.mongodb.ServerAddress |
getServerAddress() |
com.mongodb.ServerCursor |
getServerCursor() |
long |
getTotal() |
boolean |
hasNext() |
T |
next() |
T |
tryNext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic VitamMongoCursor(com.mongodb.client.MongoCursor<T> cursor, long total, String scrollId)
public VitamMongoCursor(com.mongodb.client.MongoCursor<T> cursor)
public void close()
close in interface com.mongodb.client.MongoCursorclose in interface Closeableclose in interface AutoCloseablepublic boolean hasNext()
public T next()
public T tryNext()
tryNext in interface com.mongodb.client.MongoCursorpublic com.mongodb.ServerCursor getServerCursor()
getServerCursor in interface com.mongodb.client.MongoCursorpublic com.mongodb.ServerAddress getServerAddress()
getServerAddress in interface com.mongodb.client.MongoCursorpublic long getTotal()
public String getScrollId()
Copyright © 2019 Vitam. All rights reserved.