public class BasicDBObjectCommand extends MongoDBCommand
| Constructor and Description |
|---|
BasicDBObjectCommand(com.mongodb.BasicDBObject query,
com.mongodb.BasicDBObject fieldsToRetrieve,
com.mongodb.DBDecoderFactory decoderFactory) |
public BasicDBObjectCommand(com.mongodb.BasicDBObject query,
com.mongodb.BasicDBObject fieldsToRetrieve,
com.mongodb.DBDecoderFactory decoderFactory)
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 MongoDBCommandpublic String toString()
toString in class MongoDBCommandCopyright © 2014. All Rights Reserved.