public class BasicDBObjectCommand extends MongoDBCommand
| Constructor and Description |
|---|
BasicDBObjectCommand(com.mongodb.BasicDBObject query,
com.mongodb.BasicDBObject fieldsToRetrieve,
com.mongodb.DBDecoderFactory decoderFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBCursor |
cursor(com.mongodb.DBCollection dbCollection) |
com.mongodb.DBObject |
getQuery() |
java.lang.Object |
singleResult(com.mongodb.DBCollection dbCollection) |
java.lang.String |
toString() |
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 java.lang.Object singleResult(com.mongodb.DBCollection dbCollection)
throws NoSuchItemException,
TooManyItemsException
singleResult in class MongoDBCommandNoSuchItemExceptionTooManyItemsExceptionpublic com.mongodb.DBObject getQuery()
getQuery in class MongoDBCommandpublic java.lang.String toString()
toString in class MongoDBCommandCopyright © 2017. All Rights Reserved.