Package org.apache.beam.sdk.io.mongodb
Interface MongoDbGridFSIO.WriteFn<T>
-
- All Superinterfaces:
java.io.Serializable
- Enclosing class:
- MongoDbGridFSIO
public static interface MongoDbGridFSIO.WriteFn<T> extends java.io.SerializableFunction that is called to write the data to the give GridFS OutputStream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(T output, java.io.OutputStream outStream)Output the object to the given OutputStream.
-
-
-
Method Detail
-
write
void write(T output, java.io.OutputStream outStream) throws java.io.IOException
Output the object to the given OutputStream.- Parameters:
output- The data to outputoutStream- The OutputStream- Throws:
java.io.IOException
-
-