Package org.apache.beam.sdk.io
Interface FileBasedSink.OutputFileHints
- All Superinterfaces:
 Serializable
- All Known Subinterfaces:
 FileBasedSink.WritableByteChannelFactory
- All Known Implementing Classes:
 FileBasedSink.CompressionType
- Enclosing class:
 FileBasedSink<UserT,DestinationT, OutputT> 
Provides hints about how to generate output files, such as a suggested filename suffix (e.g.
 based on the compression type), and the file MIME type.
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the MIME type that should be used for the files that will hold the output data. 
- 
Method Details
- 
getMimeType
Returns the MIME type that should be used for the files that will hold the output data. May returnnullif thisWritableByteChannelFactorydoes not meaningfully change the MIME type (e.g., forCompression.UNCOMPRESSED).- See Also:
 
 - 
getSuggestedFilenameSuffix
- Returns:
 - an optional filename suffix, eg, ".gz" is returned for 
Compression.GZIP 
 
 -