public class FiberMongoDatabaseImpl extends MongoDatabaseImpl
EMPTY_QUERY, myClient
ADMIN_NAME, CONFIG_NAME, LOCAL_NAME, TEST_NAME
Constructor and Description |
---|
FiberMongoDatabaseImpl(MongoClient mongoClient,
Client client,
String string) |
Modifier and Type | Method and Description |
---|---|
MongoCollection |
getCollection(String name) |
Document |
runCommand(DocumentAssignable command) |
Document |
runCommand(String command) |
Document |
runCommand(String command,
DocumentAssignable options) |
Document |
runCommand(String commandName,
int commandValue,
DocumentAssignable options) |
Document |
runCommand(String commandName,
String commandValue,
DocumentAssignable options) |
ListenableFuture<Document> |
runCommandAsync(DocumentAssignable command) |
ListenableFuture<Document> |
runCommandAsync(String command) |
ListenableFuture<Document> |
runCommandAsync(String command,
DocumentAssignable options) |
ListenableFuture<Document> |
runCommandAsync(String commandName,
int commandValue,
DocumentAssignable options) |
ListenableFuture<Document> |
runCommandAsync(String commandName,
String commandValue,
DocumentAssignable options) |
addOptions, createCappedCollection, createCollection, drop, exists, getDurability, getLockType, getName, getProfilingStatus, getReadPreference, listCollectionNames, listCollections, runAdminCommand, runAdminCommand, runAdminCommand, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, runCommandAsync, setDurability, setProfilingStatus, setReadPreference, stats
public FiberMongoDatabaseImpl(MongoClient mongoClient, Client client, String string)
public MongoCollection getCollection(String name)
getCollection
in interface MongoDatabase
getCollection
in class MongoDatabaseImpl
@Suspendable public Document runCommand(DocumentAssignable command) throws MongoDbException
runCommand
in interface MongoDatabase
runCommand
in class MongoDatabaseImpl
MongoDbException
@Suspendable public Document runCommand(String command) throws MongoDbException
runCommand
in interface MongoDatabase
runCommand
in class MongoDatabaseImpl
MongoDbException
@Suspendable public Document runCommand(String command, DocumentAssignable options) throws MongoDbException
runCommand
in interface MongoDatabase
runCommand
in class MongoDatabaseImpl
MongoDbException
@Suspendable public Document runCommand(String commandName, int commandValue, DocumentAssignable options) throws MongoDbException
runCommand
in interface MongoDatabase
runCommand
in class MongoDatabaseImpl
MongoDbException
@Suspendable public Document runCommand(String commandName, String commandValue, DocumentAssignable options) throws MongoDbException
runCommand
in interface MongoDatabase
runCommand
in class MongoDatabaseImpl
MongoDbException
public ListenableFuture<Document> runCommandAsync(DocumentAssignable command)
runCommandAsync
in interface MongoDatabase
runCommandAsync
in class MongoDatabaseImpl
public ListenableFuture<Document> runCommandAsync(String command)
runCommandAsync
in interface MongoDatabase
runCommandAsync
in class MongoDatabaseImpl
public ListenableFuture<Document> runCommandAsync(String command, DocumentAssignable options)
runCommandAsync
in interface MongoDatabase
runCommandAsync
in class MongoDatabaseImpl
public ListenableFuture<Document> runCommandAsync(String commandName, int commandValue, DocumentAssignable options)
runCommandAsync
in interface MongoDatabase
runCommandAsync
in class MongoDatabaseImpl
public ListenableFuture<Document> runCommandAsync(String commandName, String commandValue, DocumentAssignable options)
runCommandAsync
in interface MongoDatabase
runCommandAsync
in class MongoDatabaseImpl