Package com.mongodb.client.gridfs
Class GridFSBuckets
- java.lang.Object
-
- com.mongodb.client.gridfs.GridFSBuckets
-
@Deprecated(since="2021-05-27") public final class GridFSBuckets extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A factory for GridFSBucket instances.- Since:
- 3.1
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GridFSBucket
create(MongoDatabase database)
Deprecated.Create a new GridFS bucket with the default'fs'
bucket namestatic GridFSBucket
create(MongoDatabase database, java.lang.String bucketName)
Deprecated.Create a new GridFS bucket with a custom bucket name
-
-
-
Method Detail
-
create
public static GridFSBucket create(MongoDatabase database)
Deprecated.Create a new GridFS bucket with the default'fs'
bucket name- Parameters:
database
- the database instance to use with GridFS- Returns:
- the GridFSBucket
-
create
public static GridFSBucket create(MongoDatabase database, java.lang.String bucketName)
Deprecated.Create a new GridFS bucket with a custom bucket name- Parameters:
database
- the database instance to use with GridFSbucketName
- the custom bucket name to use- Returns:
- the GridFSBucket
-
-