public final class QueryLoggingCommand extends MongoDBCommand
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBCursor |
cursor(com.mongodb.DBCollection dbCollection) |
com.mongodb.DBObject |
getQuery() |
Object |
singleResult(com.mongodb.DBCollection dbCollection) |
static MongoDBCommand |
wrap(MongoDBCommand command,
org.slf4j.Logger logger) |
toStringpublic static MongoDBCommand wrap(MongoDBCommand command, org.slf4j.Logger logger)
public com.mongodb.DBCursor cursor(com.mongodb.DBCollection dbCollection)
cursor in class MongoDBCommandpublic Object singleResult(com.mongodb.DBCollection dbCollection) throws NoSuchItemException, TooManyItemsException
singleResult in class MongoDBCommandNoSuchItemExceptionTooManyItemsExceptionpublic com.mongodb.DBObject getQuery()
getQuery in class MongoDBCommandCopyright © 2014. All Rights Reserved.