Package | Description |
---|---|
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
com.allanbank.mongodb.client.callback |
Provides implementation for various transformations, implemented in the form of
Callback s, that are used by the driver. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClient
AbstractClient provides a base class for
Client implementations. |
class |
ClientImpl
Implementation of the internal
Client interface which all requests to
the MongoDB servers pass. |
class |
SerialClientImpl
A specialization of the
ClientImpl to always try to use the same
connection. |
Modifier and Type | Field and Description |
---|---|
protected Client |
MongoDatabaseImpl.myClient
The client for interacting with MongoDB.
|
protected Client |
AbstractMongoOperations.myClient
The client for interacting with MongoDB.
|
Modifier and Type | Method and Description |
---|---|
Client |
MongoClientImpl.getClient()
Returns the client value.
|
protected Client |
MongoIteratorImpl.getClient()
Returns the client value.
|
Constructor and Description |
---|
AbstractAsyncMongoCollection(Client client,
MongoDatabase database,
String name)
Create a new AbstractAsyncMongoCollection.
|
AbstractMongoOperations(Client client,
MongoDatabase database,
String name)
Create a new AbstractAsyncMongoCollection.
|
BatchedAsyncMongoCollectionImpl(Client client,
MongoDatabase database,
String name)
Creates a new BatchedAsyncMongoCollectionImpl.
|
MongoClientImpl(Client client)
Create a new MongoClient.
|
MongoDatabaseImpl(MongoClient mongoClient,
Client client,
String name)
Create a new MongoDatabaseClient.
|
MongoImpl(Client client)
Deprecated.
Create a new MongoClient.
|
MongoIteratorImpl(CursorableMessage originalQuery,
Client client,
String server,
Reply reply)
Create a new MongoDBInterator.
|
MongoIteratorImpl(Document cursorDocument,
Client client)
Create a new MongoIteratorImpl from a cursor document.
|
SynchronousMongoCollectionImpl(Client client,
MongoDatabase database,
String name)
Create a new MongoDatabaseClient.
|
Modifier and Type | Method and Description |
---|---|
Client |
CursorStreamingCallback.getClient()
Returns the client value.
|
Modifier and Type | Method and Description |
---|---|
void |
BatchedWriteCallback.setClient(Client client)
Sets the client to use to send the bundled writes.
|
Constructor and Description |
---|
BatchedWriteCallback(String databaseName,
String collectionName,
Callback<Long> results,
BatchedWrite write,
Client client,
List<BatchedWrite.Bundle> bundles)
Creates a new BatchedWriteCallback.
|
CursorCallback(Client client,
CursorableMessage message,
boolean command,
Callback<MongoIterator<Document>> results)
Create a new CursorCallback.
|
CursorStreamingCallback(Client client,
CursorableMessage originalMessage,
boolean command,
StreamCallback<Document> results)
Create a new CursorCallback.
|
CursorStreamingCallback(Client client,
Document cursorDocument,
StreamCallback<Document> results)
Create a new CursorCallback from a cursor document.
|
MultipleCursorCallback(Client client,
CursorableMessage message,
Callback<Collection<MongoIterator<Document>>> results)
Create a new CursorCallback.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.