|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DBCursor | |
---|---|
com.mongodb | Main package with core files. |
com.mongodb.gridfs | GridFS tools. |
Uses of DBCursor in com.mongodb |
---|
Methods in com.mongodb that return DBCursor | |
---|---|
DBCursor |
DBCursor.addOption(int option)
adds an option - see Bytes.QUERYOPTION_* for list |
DBCursor |
DBCursor.batchSize(int n)
Limits the number of elements returned in one batch |
DBCursor |
DBCursor.copy()
Creates a copy of an existing database cursor. |
DBCursor |
DBCollection.find()
Queries for all objects in this collection. |
DBCursor |
DBCollection.find(DBObject ref)
Queries for an object in this collection. |
DBCursor |
DBCollection.find(DBObject ref,
DBObject keys)
Queries for an object in this collection. |
DBCursor |
DBCollection.find(DBObject ref,
DBObject fields,
int numToSkip,
int batchSize)
Finds an object. |
DBCursor |
DBCollection.find(DBObject ref,
DBObject fields,
int numToSkip,
int batchSize,
int options)
Finds an object. |
DBCursor |
DBCursor.hint(DBObject indexKeys)
Informs the database of indexed fields of the collection in order to improve performance. |
DBCursor |
DBCursor.hint(String indexName)
Informs the database of an indexed field of the collection in order to improve performance. |
DBCursor |
DBCursor.limit(int n)
Limits the number of elements returned. |
DBCursor |
MapReduceOutput.results()
|
DBCursor |
DBCursor.skip(int n)
Discards a given number of elements at the beginning of the cursor. |
DBCursor |
DBCursor.snapshot()
Use snapshot mode for the query. |
DBCursor |
DBCursor.sort(DBObject orderBy)
Sorts this cursor's elements. |
Uses of DBCursor in com.mongodb.gridfs |
---|
Methods in com.mongodb.gridfs that return DBCursor | |
---|---|
DBCursor |
GridFS.getFileList()
Returns a cursor for this filestore |
DBCursor |
GridFS.getFileList(DBObject query)
Returns a cursor for this filestore |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |