org.iternine.jeppetto.dao.mongodb
Class BasicDBObjectCommand

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

public class BasicDBObjectCommand
extends MongoDBCommand


Constructor Summary
BasicDBObjectCommand(com.mongodb.BasicDBObject query)
           
 
Method Summary
 com.mongodb.DBCursor cursor(com.mongodb.DBCollection dbCollection)
           
 com.mongodb.DBObject getQuery()
           
 Object singleResult(com.mongodb.DBCollection dbCollection)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDBObjectCommand

public BasicDBObjectCommand(com.mongodb.BasicDBObject query)
Method Detail

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

toString

public String toString()
Overrides:
toString in class MongoDBCommand


Copyright © 2011. All Rights Reserved.