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(org.bson.types.ObjectId objectId)
Finds one file matching the given objectId.
|
GridFSDBFile |
GridFS.findOne(DBObject query)
Finds one file matching the given query.
|
GridFSDBFile |
GridFS.findOne(org.bson.types.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.
|
Copyright © 2017. All rights reserved.