Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
QueryMessage
An OP_QUERY message for an actual query (not a command).
|
Modifier and Type | Method and Description |
---|---|
BaseQueryMessage |
BaseQueryMessage.awaitData(boolean awaitData)
Sets if the cursor should await for data.
|
BaseQueryMessage |
BaseQueryMessage.noCursorTimeout(boolean noCursorTimeout)
Sets if the cursor timeout should be turned off.
|
BaseQueryMessage |
BaseQueryMessage.oplogReplay(boolean oplogReplay)
Internal replication use only.
|
BaseQueryMessage |
BaseQueryMessage.partial(boolean partial)
Sets if partial results from a mongos if some shards are down are allowed
|
BaseQueryMessage |
BaseQueryMessage.slaveOk(boolean slaveOk)
Sets if allowed to query non-primary replica set members.
|
BaseQueryMessage |
BaseQueryMessage.tailableCursor(boolean tailableCursor)
Sets whether the cursor should be a tailable cursor.
|