Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Field and Description |
---|---|
private ServerCursor |
DBCursor.OptionalFinalizer.serverCursor |
private ServerCursor |
Mongo.ServerCursorAndNamespace.serverCursor |
Modifier and Type | Method and Description |
---|---|
ServerCursor |
MongoBatchCursorAdapter.getServerCursor() |
ServerCursor |
MongoMappingCursor.getServerCursor() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Mongo.addOrphanedCursor(ServerCursor serverCursor,
MongoNamespace namespace) |
private void |
DBCursor.OptionalFinalizer.setServerCursor(ServerCursor serverCursor) |
private void |
DBCursor.setServerCursorOnFinalizer(ServerCursor serverCursor) |
Constructor and Description |
---|
ServerCursorAndNamespace(ServerCursor serverCursor,
MongoNamespace namespace) |
Modifier and Type | Method and Description |
---|---|
ServerCursor |
MongoCursor.getServerCursor()
Returns the server cursor, which can be null if the no cursor was created or if the cursor has been exhausted or killed.
|
Modifier and Type | Method and Description |
---|---|
ServerCursor |
QueryResult.getCursor()
Gets the cursor.
|
Modifier and Type | Field and Description |
---|---|
private ServerCursor |
AsyncQueryBatchCursor.CommandResultSingleResultCallback.cursor |
private ServerCursor |
QueryBatchCursor.serverCursor |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<ServerCursor> |
AsyncQueryBatchCursor.cursor |
Modifier and Type | Method and Description |
---|---|
ServerCursor |
ChangeStreamBatchCursor.getServerCursor() |
ServerCursor |
QueryBatchCursor.getServerCursor() |
ServerCursor |
ListCollectionsOperation.ProjectingBatchCursor.getServerCursor() |
ServerCursor |
BatchCursor.getServerCursor()
Returns the server cursor
|
(package private) ServerCursor |
AsyncQueryBatchCursor.getServerCursor() |
Modifier and Type | Method and Description |
---|---|
private BsonDocument |
AsyncQueryBatchCursor.asKillCursorsCommandDocument(ServerCursor localCursor) |
private void |
AsyncQueryBatchCursor.getMore(AsyncConnection connection,
ServerCursor cursor,
SingleResultCallback<java.util.List<T>> callback,
boolean tryNext) |
private void |
AsyncQueryBatchCursor.getMore(ServerCursor cursor,
SingleResultCallback<java.util.List<T>> callback,
boolean tryNext) |
private void |
AsyncQueryBatchCursor.killCursorAsynchronouslyAndReleaseConnectionAndSource(AsyncConnection connection,
ServerCursor localCursor) |
(package private) static MongoQueryException |
QueryHelper.translateCommandException(MongoCommandException commandException,
ServerCursor cursor) |
Constructor and Description |
---|
CommandResultSingleResultCallback(AsyncConnection connection,
ServerCursor cursor,
SingleResultCallback<java.util.List<T>> callback,
boolean tryNext) |