public interface MongoBackend
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dropDatabase(java.lang.String database) |
java.util.Collection<org.bson.BSONObject> |
getCurrentOperations(MongoQuery query) |
int[] |
getVersion() |
void |
handleClose(io.netty.channel.Channel channel) |
org.bson.BSONObject |
handleCommand(io.netty.channel.Channel channel,
java.lang.String database,
java.lang.String command,
org.bson.BSONObject query) |
void |
handleDelete(MongoDelete delete) |
void |
handleInsert(MongoInsert insert) |
java.lang.Iterable<org.bson.BSONObject> |
handleQuery(MongoQuery query) |
void |
handleUpdate(MongoUpdate update) |
void handleClose(io.netty.channel.Channel channel)
org.bson.BSONObject handleCommand(io.netty.channel.Channel channel,
java.lang.String database,
java.lang.String command,
org.bson.BSONObject query)
throws MongoServerException
MongoServerExceptionjava.lang.Iterable<org.bson.BSONObject> handleQuery(MongoQuery query) throws MongoServerException
MongoServerExceptionvoid handleInsert(MongoInsert insert) throws MongoServerException
MongoServerExceptionvoid handleDelete(MongoDelete delete) throws MongoServerException
MongoServerExceptionvoid handleUpdate(MongoUpdate update) throws MongoServerException
MongoServerExceptionvoid dropDatabase(java.lang.String database)
throws MongoServerException
MongoServerExceptionjava.util.Collection<org.bson.BSONObject> getCurrentOperations(MongoQuery query)
int[] getVersion()
void close()