Class BeamImpulseSource
- java.lang.Object
-
- org.apache.beam.sdk.io.Source<T>
-
- org.apache.beam.sdk.io.BoundedSource<byte[]>
-
- org.apache.beam.runners.flink.translation.wrappers.streaming.io.source.impulse.BeamImpulseSource
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
public class BeamImpulseSource extends org.apache.beam.sdk.io.BoundedSource<byte[]>A BeamBoundedSourcefor Impulse Source.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeamImpulseSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.io.BoundedSource.BoundedReader<byte[]>createReader(org.apache.beam.sdk.options.PipelineOptions options)longgetEstimatedSizeBytes(org.apache.beam.sdk.options.PipelineOptions options)org.apache.beam.sdk.coders.Coder<byte[]>getOutputCoder()java.util.List<? extends org.apache.beam.sdk.io.BoundedSource<byte[]>>split(long desiredBundleSizeBytes, org.apache.beam.sdk.options.PipelineOptions options)
-
-
-
Method Detail
-
split
public java.util.List<? extends org.apache.beam.sdk.io.BoundedSource<byte[]>> split(long desiredBundleSizeBytes, org.apache.beam.sdk.options.PipelineOptions options) throws java.lang.Exception- Specified by:
splitin classorg.apache.beam.sdk.io.BoundedSource<byte[]>- Throws:
java.lang.Exception
-
getEstimatedSizeBytes
public long getEstimatedSizeBytes(org.apache.beam.sdk.options.PipelineOptions options) throws java.lang.Exception- Specified by:
getEstimatedSizeBytesin classorg.apache.beam.sdk.io.BoundedSource<byte[]>- Throws:
java.lang.Exception
-
createReader
public org.apache.beam.sdk.io.BoundedSource.BoundedReader<byte[]> createReader(org.apache.beam.sdk.options.PipelineOptions options) throws java.io.IOException- Specified by:
createReaderin classorg.apache.beam.sdk.io.BoundedSource<byte[]>- Throws:
java.io.IOException
-
getOutputCoder
public org.apache.beam.sdk.coders.Coder<byte[]> getOutputCoder()
- Overrides:
getOutputCoderin classorg.apache.beam.sdk.io.Source<byte[]>
-
-