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, wait
forEachRemaining, remove
public 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.MongoCursor
close
in interface Closeable
close
in interface AutoCloseable
public boolean hasNext()
public T next()
public T tryNext()
tryNext
in interface com.mongodb.client.MongoCursor
public com.mongodb.ServerCursor getServerCursor()
getServerCursor
in interface com.mongodb.client.MongoCursor
public com.mongodb.ServerAddress getServerAddress()
getServerAddress
in interface com.mongodb.client.MongoCursor
public long getTotal()
public String getScrollId()
Copyright © 2019 Vitam. All rights reserved.