Package | Description |
---|---|
com.mongodb.gridfs |
GridFS tools.
|
Modifier and Type | Method and Description |
---|---|
protected GridFSDBFile |
GridFS._fix(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(String filename)
Finds one file matching the given filename.
|
Modifier and Type | Method and Description |
---|---|
List<GridFSDBFile> |
GridFS.find(DBObject query)
Finds a list of files matching the given query.
|
List<GridFSDBFile> |
GridFS.find(DBObject query,
DBObject sort)
Finds a list of files matching the given query.
|
List<GridFSDBFile> |
GridFS.find(String filename)
Finds a list of files matching the given filename.
|
List<GridFSDBFile> |
GridFS.find(String filename,
DBObject sort)
Finds a list of files matching the given filename.
|