Package cz.o2.proxima.beam.direct.io
Class AbstractDirectBoundedSource
- java.lang.Object
-
- org.apache.beam.sdk.io.Source<T>
-
- org.apache.beam.sdk.io.BoundedSource<StreamElement>
-
- cz.o2.proxima.beam.direct.io.AbstractDirectBoundedSource
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Direct Known Subclasses:
DirectBatchSource,DirectBoundedSource
abstract class AbstractDirectBoundedSource extends org.apache.beam.sdk.io.BoundedSource<StreamElement>
Abstract super class for bounded sources.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RepositoryFactoryfactoryprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AbstractDirectBoundedSource(RepositoryFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetEstimatedSizeBytes(org.apache.beam.sdk.options.PipelineOptions options)org.apache.beam.sdk.coders.Coder<StreamElement>getOutputCoder()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
factory
final RepositoryFactory factory
-
-
Constructor Detail
-
AbstractDirectBoundedSource
AbstractDirectBoundedSource(RepositoryFactory factory)
-
-
Method Detail
-
getEstimatedSizeBytes
public long getEstimatedSizeBytes(org.apache.beam.sdk.options.PipelineOptions options) throws java.lang.Exception- Specified by:
getEstimatedSizeBytesin classorg.apache.beam.sdk.io.BoundedSource<StreamElement>- Throws:
java.lang.Exception
-
getOutputCoder
public org.apache.beam.sdk.coders.Coder<StreamElement> getOutputCoder()
- Overrides:
getOutputCoderin classorg.apache.beam.sdk.io.Source<StreamElement>
-
-