org.iternine.jeppetto.dao.mongodb
Class QueryLoggingCommand

java.lang.Object
  extended by org.iternine.jeppetto.dao.mongodb.MongoDBCommand
      extended by org.iternine.jeppetto.dao.mongodb.QueryLoggingCommand

public final class QueryLoggingCommand
extends MongoDBCommand


Method Summary
 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)
           
 
Methods inherited from class org.iternine.jeppetto.dao.mongodb.MongoDBCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

wrap

public static MongoDBCommand wrap(MongoDBCommand command,
                                  org.slf4j.Logger logger)

cursor

public com.mongodb.DBCursor cursor(com.mongodb.DBCollection dbCollection)
Overrides:
cursor in class MongoDBCommand

singleResult

public Object singleResult(com.mongodb.DBCollection dbCollection)
                    throws NoSuchItemException
Overrides:
singleResult in class MongoDBCommand
Throws:
NoSuchItemException

getQuery

public com.mongodb.DBObject getQuery()
Overrides:
getQuery in class MongoDBCommand


Copyright © 2011. All Rights Reserved.