Package org.apache.beam.sdk.io.mongodb
Interface MongoDbGridFSIO.WriteFn<T>
- All Superinterfaces:
Serializable
- Enclosing class:
MongoDbGridFSIO
Function that is called to write the data to the give GridFS OutputStream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(T output, OutputStream outStream) Output the object to the given OutputStream.
-
Method Details
-
write
Output the object to the given OutputStream.- Parameters:
output
- The data to outputoutStream
- The OutputStream- Throws:
IOException
-