Package | Description |
---|---|
com.mongodb.gridfs |
GridFS tools.
|
Modifier and Type | Method and Description |
---|---|
protected GridFSDBFile |
GridFS._fix(java.lang.Object o)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
GridFSDBFile |
GridFS.find(ObjectId objectId)
Finds one file matching the given objectId.
|
GridFSDBFile |
GridFS.findOne(DBObject query)
Finds one file matching the given query.
|
GridFSDBFile |
GridFS.findOne(ObjectId objectId)
Finds one file matching the given objectId.
|
GridFSDBFile |
GridFS.findOne(java.lang.String filename)
Finds one file matching the given filename.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<GridFSDBFile> |
GridFS.find(DBObject query)
Finds a list of files matching the given query.
|
java.util.List<GridFSDBFile> |
GridFS.find(DBObject query,
DBObject sort)
Finds a list of files matching the given query.
|
java.util.List<GridFSDBFile> |
GridFS.find(java.lang.String filename)
Finds a list of files matching the given filename.
|
java.util.List<GridFSDBFile> |
GridFS.find(java.lang.String filename,
DBObject sort)
Finds a list of files matching the given filename.
|