Uses of Interface
com.mongodb.async.client.gridfs.AsyncInputStream
-
Packages that use AsyncInputStream Package Description com.mongodb.async.client.gridfs Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.com.mongodb.async.client.gridfs.helpers Contains helper classes to createAsyncInputStream
andAsyncOutputStream
's from external sources. -
-
Uses of AsyncInputStream in com.mongodb.async.client.gridfs
Subinterfaces of AsyncInputStream in com.mongodb.async.client.gridfs Modifier and Type Interface Description interface
GridFSDownloadStream
Deprecated.Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)Methods in com.mongodb.async.client.gridfs with parameters of type AsyncInputStream Modifier and Type Method Description void
GridFSBucket. uploadFromStream(ClientSession clientSession, String filename, AsyncInputStream source, SingleResultCallback<ObjectId> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(ClientSession clientSession, String filename, AsyncInputStream source, GridFSUploadOptions options, SingleResultCallback<ObjectId> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(ClientSession clientSession, BsonValue id, String filename, AsyncInputStream source, SingleResultCallback<Void> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(ClientSession clientSession, BsonValue id, String filename, AsyncInputStream source, GridFSUploadOptions options, SingleResultCallback<Void> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(String filename, AsyncInputStream source, SingleResultCallback<ObjectId> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(String filename, AsyncInputStream source, GridFSUploadOptions options, SingleResultCallback<ObjectId> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(BsonValue id, String filename, AsyncInputStream source, SingleResultCallback<Void> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket.void
GridFSBucket. uploadFromStream(BsonValue id, String filename, AsyncInputStream source, GridFSUploadOptions options, SingleResultCallback<Void> callback)
Deprecated.Uploads the contents of the givenAsyncInputStream
to a GridFS bucket. -
Uses of AsyncInputStream in com.mongodb.async.client.gridfs.helpers
Methods in com.mongodb.async.client.gridfs.helpers that return AsyncInputStream Modifier and Type Method Description static AsyncInputStream
AsynchronousChannelHelper. channelToInputStream(AsynchronousByteChannel asynchronousByteChannel)
Deprecated.Converts aAsynchronousByteChannel
into aAsyncInputStream
static AsyncInputStream
AsynchronousChannelHelper. channelToInputStream(AsynchronousFileChannel asynchronousFileChannel)
Deprecated.Converts aAsynchronousFileChannel
into aAsyncInputStream
static AsyncInputStream
AsyncStreamHelper. toAsyncInputStream(byte[] srcBytes)
Deprecated.Converts abyte[]
into aAsyncInputStream
static AsyncInputStream
AsyncStreamHelper. toAsyncInputStream(InputStream inputStream)
Deprecated.Converts aInputStream
into aAsyncInputStream
static AsyncInputStream
AsyncStreamHelper. toAsyncInputStream(ByteBuffer srcByteBuffer)
Deprecated.Converts aByteBuffer
into aAsyncInputStream
-