public interface MongoBackend
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dropDatabase(java.lang.String database) |
java.util.Collection<Document> |
getCurrentOperations(MongoQuery query) |
java.util.List<java.lang.Integer> |
getVersion() |
void |
handleClose(io.netty.channel.Channel channel) |
Document |
handleCommand(io.netty.channel.Channel channel,
java.lang.String database,
java.lang.String command,
Document query) |
void |
handleDelete(MongoDelete delete) |
void |
handleInsert(MongoInsert insert) |
java.lang.Iterable<Document> |
handleQuery(MongoQuery query) |
void |
handleUpdate(MongoUpdate update) |
void handleClose(io.netty.channel.Channel channel)
Document handleCommand(io.netty.channel.Channel channel, java.lang.String database, java.lang.String command, Document query) throws MongoServerException
MongoServerExceptionjava.lang.Iterable<Document> 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<Document> getCurrentOperations(MongoQuery query)
java.util.List<java.lang.Integer> getVersion()
void close()