Package | Description |
---|---|
com.mongodb.async.client.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
com.mongodb.client.gridfs.codecs |
This package contains codecs for use with GridFS
|
Modifier and Type | Field and Description |
---|---|
private GridFSFile |
GridFSDownloadStreamImpl.fileInfo |
Modifier and Type | Field and Description |
---|---|
private MongoCollection<GridFSFile> |
GridFSIndexCheckImpl.filesCollection |
private MongoCollection<GridFSFile> |
GridFSBucketImpl.filesCollection |
private MongoCollection<GridFSFile> |
GridFSUploadStreamImpl.filesCollection |
private FindIterable<GridFSFile> |
GridFSFindIterableImpl.underlying |
Modifier and Type | Method and Description |
---|---|
<A extends java.util.Collection<? super GridFSFile>> |
GridFSFindIterableImpl.into(A target,
SingleResultCallback<A> callback) |
Modifier and Type | Method and Description |
---|---|
private static MongoCollection<GridFSFile> |
GridFSBucketImpl.getFilesCollection(MongoDatabase database,
java.lang.String bucketName) |
Modifier and Type | Method and Description |
---|---|
void |
GridFSFindIterableImpl.batchCursor(SingleResultCallback<AsyncBatchCursor<GridFSFile>> callback) |
void |
GridFSFindIterableImpl.first(SingleResultCallback<GridFSFile> callback) |
void |
GridFSFindIterableImpl.forEach(Block<? super GridFSFile> block,
SingleResultCallback<java.lang.Void> callback) |
void |
GridFSDownloadStream.getGridFSFile(SingleResultCallback<GridFSFile> callback)
Gets the corresponding
GridFSFile for the file being downloaded |
void |
GridFSDownloadStreamImpl.getGridFSFile(SingleResultCallback<GridFSFile> callback) |
<U> MongoIterable<U> |
GridFSFindIterableImpl.map(Function<GridFSFile,U> mapper) |
Constructor and Description |
---|
GridFSBucketImpl(java.lang.String bucketName,
int chunkSizeBytes,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSFindIterableImpl(FindIterable<GridFSFile> underlying) |
GridFSIndexCheckImpl(MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSUploadStreamImpl(MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection,
BsonValue fileId,
java.lang.String filename,
int chunkSizeBytes,
Document metadata,
GridFSIndexCheck indexCheck) |
Modifier and Type | Field and Description |
---|---|
private GridFSFile |
GridFSDownloadStreamImpl.fileInfo |
Modifier and Type | Field and Description |
---|---|
private MongoCollection<GridFSFile> |
GridFSBucketImpl.filesCollection |
private MongoCollection<GridFSFile> |
GridFSUploadStreamImpl.filesCollection |
private FindIterable<GridFSFile> |
GridFSFindIterableImpl.underlying |
Modifier and Type | Method and Description |
---|---|
<A extends java.util.Collection<? super GridFSFile>> |
GridFSFindIterableImpl.into(A target) |
Modifier and Type | Method and Description |
---|---|
GridFSFile |
GridFSFindIterableImpl.first() |
private GridFSFile |
GridFSBucketImpl.getFileByName(java.lang.String filename,
GridFSDownloadOptions options) |
abstract GridFSFile |
GridFSDownloadStream.getGridFSFile()
Gets the corresponding
GridFSFile for the file being downloaded |
GridFSFile |
GridFSDownloadStreamImpl.getGridFSFile() |
Modifier and Type | Method and Description |
---|---|
private static MongoCollection<GridFSFile> |
GridFSBucketImpl.getFilesCollection(MongoDatabase database,
java.lang.String bucketName) |
MongoCursor<GridFSFile> |
GridFSFindIterableImpl.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
GridFSFindIterableImpl.forEach(Block<? super GridFSFile> block) |
<U> MongoIterable<U> |
GridFSFindIterableImpl.map(Function<GridFSFile,U> mapper) |
Constructor and Description |
---|
GridFSDownloadStreamImpl(GridFSFile fileInfo,
MongoCollection<Document> chunksCollection) |
Constructor and Description |
---|
GridFSBucketImpl(java.lang.String bucketName,
int chunkSizeBytes,
MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection) |
GridFSFindIterableImpl(FindIterable<GridFSFile> underlying) |
GridFSUploadStreamImpl(MongoCollection<GridFSFile> filesCollection,
MongoCollection<Document> chunksCollection,
BsonValue fileId,
java.lang.String filename,
int chunkSizeBytes,
Document metadata) |
Modifier and Type | Method and Description |
---|---|
GridFSFile |
GridFSFileCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<GridFSFile> |
GridFSFileCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
GridFSFileCodec.encode(BsonWriter writer,
GridFSFile value,
EncoderContext encoderContext) |