Package | Description |
---|---|
com.mongodb.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
Modifier and Type | Field and Description |
---|---|
(package private) GridFS |
GridFSFile.fs |
private static GridFS |
CLI.gridFS |
Modifier and Type | Method and Description |
---|---|
protected GridFS |
GridFSFile.getGridFS()
Gets the GridFS associated with this file
|
private static GridFS |
CLI.getGridFS() |
Modifier and Type | Method and Description |
---|---|
protected void |
GridFSFile.setGridFS(GridFS fs)
Sets the GridFS associated with this file.
|
Constructor and Description |
---|
GridFSInputFile(GridFS gridFS)
Minimal constructor that does not rely on the presence of an
InputStream . |
GridFSInputFile(GridFS gridFS,
java.io.InputStream inputStream,
java.lang.String filename)
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
|
GridFSInputFile(GridFS gridFS,
java.io.InputStream inputStream,
java.lang.String filename,
boolean closeStreamOnPersist)
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
|
GridFSInputFile(GridFS gridFS,
java.lang.String filename)
Constructor that only provides a file name, but does not rely on the presence of an
InputStream . |