TResult - The type of documents the cursor is supposed to containspublic class EmptyMongoCursor<TResult> extends Object implements com.mongodb.client.MongoCursor<TResult>
| Constructor and Description |
|---|
EmptyMongoCursor()
the constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.mongodb.ServerAddress |
getServerAddress() |
com.mongodb.ServerCursor |
getServerCursor() |
boolean |
hasNext() |
TResult |
next() |
TResult |
tryNext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic void close()
close in interface com.mongodb.client.MongoCursor<TResult>close in interface Closeableclose in interface AutoCloseablepublic boolean hasNext()
public TResult next()
public TResult tryNext()
tryNext in interface com.mongodb.client.MongoCursor<TResult>public com.mongodb.ServerCursor getServerCursor()
getServerCursor in interface com.mongodb.client.MongoCursor<TResult>public com.mongodb.ServerAddress getServerAddress()
getServerAddress in interface com.mongodb.client.MongoCursor<TResult>Copyright © 2018 Vitam. All rights reserved.