public static class UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter<T> extends UnboundedSource<T,org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>>
BoundedSource to UnboundedSource adapter.UnboundedSource.CheckpointMark, UnboundedSource.UnboundedReader<OutputT>| Constructor and Description |
|---|
BoundedToUnboundedSourceAdapter(BoundedSource<T> boundedSource) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Reader |
createReader(PipelineOptions options,
org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T> checkpoint) |
List<UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter<T>> |
generateInitialSplits(int desiredNumSplits,
PipelineOptions options) |
Coder<org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>> |
getCheckpointMarkCoder() |
Coder<T> |
getDefaultOutputCoder() |
void |
validate() |
requiresDedupingpopulateDisplayDatapublic BoundedToUnboundedSourceAdapter(BoundedSource<T> boundedSource)
public List<UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter<T>> generateInitialSplits(int desiredNumSplits, PipelineOptions options) throws Exception
generateInitialSplits in class UnboundedSource<T,org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>>Exceptionpublic org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Reader createReader(PipelineOptions options, org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T> checkpoint) throws IOException
createReader in class UnboundedSource<T,org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>>IOExceptionpublic Coder<T> getDefaultOutputCoder()
getDefaultOutputCoder in class Source<T>public Coder<org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>> getCheckpointMarkCoder()
getCheckpointMarkCoder in class UnboundedSource<T,org.apache.beam.runners.core.UnboundedReadFromBoundedSource.BoundedToUnboundedSourceAdapter.Checkpoint<T>>