Package | Description |
---|---|
com.mongodb.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
Modifier and Type | Method and Description |
---|---|
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.
|
private GridFSDBFile |
GridFS.injectGridFSInstance(java.lang.Object o) |
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.
|