Package org.apache.nemo.examples.beam
Class WriteOneFilePerWindow
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PDone>
-
- org.apache.nemo.examples.beam.WriteOneFilePerWindow
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.beam.sdk.transforms.display.HasDisplayData
public final class WriteOneFilePerWindow extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PDone>
This class is brought from beam/examples/common/WriteOneFilePerWindow.java.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WriteOneFilePerWindow.PerWindowFiles
AFileBasedSink.FilenamePolicy
produces a base file name for a write based on metadata about the data being written.
-
Constructor Summary
Constructors Constructor Description WriteOneFilePerWindow(java.lang.String filenamePrefix, java.lang.Integer numShards)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PDone
expand(org.apache.beam.sdk.values.PCollection<java.lang.String> input)
-