public interface MongoDatabase
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabaseName() |
void |
handleClose(org.jboss.netty.channel.Channel channel) |
org.bson.BSONObject |
handleCommand(org.jboss.netty.channel.Channel channel,
String command,
org.bson.BSONObject query) |
void |
handleDelete(MongoDelete delete) |
void |
handleInsert(MongoInsert insert) |
Iterable<org.bson.BSONObject> |
handleQuery(MongoQuery query) |
void |
handleUpdate(MongoUpdate update) |
boolean |
isEmpty() |
String getDatabaseName()
void handleClose(org.jboss.netty.channel.Channel channel)
org.bson.BSONObject handleCommand(org.jboss.netty.channel.Channel channel,
String command,
org.bson.BSONObject query)
throws MongoServerException
MongoServerExceptionIterable<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
MongoServerExceptionboolean isEmpty()
Copyright © 2013. All Rights Reserved.