public interface com.mongodb.client.gridfs.GridFSBucket
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.mongodb.client.gridfs.GridFSBucket
super_class: java.lang.Object
{
public abstract java.lang.String getBucketName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getChunkSizeBytes();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.WriteConcern getWriteConcern();
descriptor: ()Lcom/mongodb/WriteConcern;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.ReadPreference getReadPreference();
descriptor: ()Lcom/mongodb/ReadPreference;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.ReadConcern getReadConcern();
descriptor: ()Lcom/mongodb/ReadConcern;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean getDisableMD5();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public abstract com.mongodb.client.gridfs.GridFSBucket withChunkSizeBytes(int);
descriptor: (I)Lcom/mongodb/client/gridfs/GridFSBucket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
chunkSizeBytes
public abstract com.mongodb.client.gridfs.GridFSBucket withReadPreference(com.mongodb.ReadPreference);
descriptor: (Lcom/mongodb/ReadPreference;)Lcom/mongodb/client/gridfs/GridFSBucket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
readPreference
public abstract com.mongodb.client.gridfs.GridFSBucket withWriteConcern(com.mongodb.WriteConcern);
descriptor: (Lcom/mongodb/WriteConcern;)Lcom/mongodb/client/gridfs/GridFSBucket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
writeConcern
public abstract com.mongodb.client.gridfs.GridFSBucket withReadConcern(com.mongodb.ReadConcern);
descriptor: (Lcom/mongodb/ReadConcern;)Lcom/mongodb/client/gridfs/GridFSBucket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
readConcern
public abstract com.mongodb.client.gridfs.GridFSBucket withDisableMD5(boolean);
descriptor: (Z)Lcom/mongodb/client/gridfs/GridFSBucket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
disableMD5
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(java.lang.String, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
options
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(org.bson.BsonValue, java.lang.String);
descriptor: (Lorg/bson/BsonValue;Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
filename
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(org.bson.BsonValue, java.lang.String, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lorg/bson/BsonValue;Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
filename
options
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(com.mongodb.client.ClientSession, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(com.mongodb.client.ClientSession, java.lang.String, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
options
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(com.mongodb.client.ClientSession, org.bson.BsonValue, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
filename
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(com.mongodb.client.ClientSession, org.bson.types.ObjectId, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/types/ObjectId;Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
filename
public abstract com.mongodb.client.gridfs.GridFSUploadStream openUploadStream(com.mongodb.client.ClientSession, org.bson.BsonValue, java.lang.String, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lcom/mongodb/client/gridfs/GridFSUploadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
filename
options
public abstract org.bson.types.ObjectId uploadFromStream(java.lang.String, java.io.InputStream);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;)Lorg/bson/types/ObjectId;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
source
public abstract org.bson.types.ObjectId uploadFromStream(java.lang.String, java.io.InputStream, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lorg/bson/types/ObjectId;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
source
options
public abstract void uploadFromStream(org.bson.BsonValue, java.lang.String, java.io.InputStream);
descriptor: (Lorg/bson/BsonValue;Ljava/lang/String;Ljava/io/InputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
filename
source
public abstract void uploadFromStream(org.bson.BsonValue, java.lang.String, java.io.InputStream, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lorg/bson/BsonValue;Ljava/lang/String;Ljava/io/InputStream;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
filename
source
options
public abstract org.bson.types.ObjectId uploadFromStream(com.mongodb.client.ClientSession, java.lang.String, java.io.InputStream);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/io/InputStream;)Lorg/bson/types/ObjectId;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
source
public abstract org.bson.types.ObjectId uploadFromStream(com.mongodb.client.ClientSession, java.lang.String, java.io.InputStream, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/io/InputStream;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)Lorg/bson/types/ObjectId;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
source
options
public abstract void uploadFromStream(com.mongodb.client.ClientSession, org.bson.BsonValue, java.lang.String, java.io.InputStream);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/lang/String;Ljava/io/InputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
filename
source
public abstract void uploadFromStream(com.mongodb.client.ClientSession, org.bson.BsonValue, java.lang.String, java.io.InputStream, com.mongodb.client.gridfs.model.GridFSUploadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/lang/String;Ljava/io/InputStream;Lcom/mongodb/client/gridfs/model/GridFSUploadOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
filename
source
options
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(org.bson.types.ObjectId);
descriptor: (Lorg/bson/types/ObjectId;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(org.bson.BsonValue);
descriptor: (Lorg/bson/BsonValue;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(java.lang.String, com.mongodb.client.gridfs.model.GridFSDownloadOptions);
descriptor: (Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSDownloadOptions;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
options
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(com.mongodb.client.ClientSession, org.bson.types.ObjectId);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/types/ObjectId;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(com.mongodb.client.ClientSession, org.bson.BsonValue);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(com.mongodb.client.ClientSession, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStream(com.mongodb.client.ClientSession, java.lang.String, com.mongodb.client.gridfs.model.GridFSDownloadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSDownloadOptions;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
options
public abstract void downloadToStream(org.bson.types.ObjectId, java.io.OutputStream);
descriptor: (Lorg/bson/types/ObjectId;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
destination
public abstract void downloadToStream(org.bson.BsonValue, java.io.OutputStream);
descriptor: (Lorg/bson/BsonValue;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
destination
public abstract void downloadToStream(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
destination
public abstract void downloadToStream(java.lang.String, java.io.OutputStream, com.mongodb.client.gridfs.model.GridFSDownloadOptions);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;Lcom/mongodb/client/gridfs/model/GridFSDownloadOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filename
destination
options
public abstract void downloadToStream(com.mongodb.client.ClientSession, org.bson.types.ObjectId, java.io.OutputStream);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/types/ObjectId;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
destination
public abstract void downloadToStream(com.mongodb.client.ClientSession, org.bson.BsonValue, java.io.OutputStream);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
destination
public abstract void downloadToStream(com.mongodb.client.ClientSession, java.lang.String, java.io.OutputStream);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
destination
public abstract void downloadToStream(com.mongodb.client.ClientSession, java.lang.String, java.io.OutputStream, com.mongodb.client.gridfs.model.GridFSDownloadOptions);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/io/OutputStream;Lcom/mongodb/client/gridfs/model/GridFSDownloadOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filename
destination
options
public abstract com.mongodb.client.gridfs.GridFSFindIterable find();
descriptor: ()Lcom/mongodb/client/gridfs/GridFSFindIterable;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.mongodb.client.gridfs.GridFSFindIterable find(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/gridfs/GridFSFindIterable;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
filter
public abstract com.mongodb.client.gridfs.GridFSFindIterable find(com.mongodb.client.ClientSession);
descriptor: (Lcom/mongodb/client/ClientSession;)Lcom/mongodb/client/gridfs/GridFSFindIterable;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
public abstract com.mongodb.client.gridfs.GridFSFindIterable find(com.mongodb.client.ClientSession, org.bson.conversions.Bson);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/conversions/Bson;)Lcom/mongodb/client/gridfs/GridFSFindIterable;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
filter
public abstract void delete(org.bson.types.ObjectId);
descriptor: (Lorg/bson/types/ObjectId;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
public abstract void delete(org.bson.BsonValue);
descriptor: (Lorg/bson/BsonValue;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
public abstract void delete(com.mongodb.client.ClientSession, org.bson.types.ObjectId);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/types/ObjectId;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
public abstract void delete(com.mongodb.client.ClientSession, org.bson.BsonValue);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
public abstract void rename(org.bson.types.ObjectId, java.lang.String);
descriptor: (Lorg/bson/types/ObjectId;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
newFilename
public abstract void rename(org.bson.BsonValue, java.lang.String);
descriptor: (Lorg/bson/BsonValue;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
id
newFilename
public abstract void rename(com.mongodb.client.ClientSession, org.bson.types.ObjectId, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/types/ObjectId;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
newFilename
public abstract void rename(com.mongodb.client.ClientSession, org.bson.BsonValue, java.lang.String);
descriptor: (Lcom/mongodb/client/ClientSession;Lorg/bson/BsonValue;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
id
newFilename
public abstract void drop();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void drop(com.mongodb.client.ClientSession);
descriptor: (Lcom/mongodb/client/ClientSession;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
clientSession
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStreamByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
filename
public abstract com.mongodb.client.gridfs.GridFSDownloadStream openDownloadStreamByName(java.lang.String, com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions);
descriptor: (Ljava/lang/String;Lcom/mongodb/client/gridfs/model/GridFSDownloadByNameOptions;)Lcom/mongodb/client/gridfs/GridFSDownloadStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
filename
options
public abstract void downloadToStreamByName(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
filename
destination
public abstract void downloadToStreamByName(java.lang.String, java.io.OutputStream, com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;Lcom/mongodb/client/gridfs/model/GridFSDownloadByNameOptions;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
filename
destination
options
}
SourceFile: "GridFSBucket.java"
RuntimeVisibleAnnotations:
com.mongodb.annotations.ThreadSafe()