public class ValuesSource<T>
extends org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>
Iterable.| Constructor and Description |
|---|
ValuesSource(java.lang.Iterable<T> values,
org.apache.beam.sdk.coders.Coder<T> coder) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.io.UnboundedSource.UnboundedReader<T> |
createReader(org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.sdk.io.UnboundedSource.CheckpointMark checkpointMark) |
org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.io.UnboundedSource.CheckpointMark> |
getCheckpointMarkCoder() |
org.apache.beam.sdk.coders.Coder<T> |
getDefaultOutputCoder() |
java.util.List<? extends org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>> |
split(int desiredNumSplits,
org.apache.beam.sdk.options.PipelineOptions options) |
public java.util.List<? extends org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>> split(int desiredNumSplits, org.apache.beam.sdk.options.PipelineOptions options) throws java.lang.Exception
split in class org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>java.lang.Exceptionpublic org.apache.beam.sdk.io.UnboundedSource.UnboundedReader<T> createReader(org.apache.beam.sdk.options.PipelineOptions options, @Nullable org.apache.beam.sdk.io.UnboundedSource.CheckpointMark checkpointMark)
createReader in class org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>@Nullable public org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.io.UnboundedSource.CheckpointMark> getCheckpointMarkCoder()
getCheckpointMarkCoder in class org.apache.beam.sdk.io.UnboundedSource<T,org.apache.beam.sdk.io.UnboundedSource.CheckpointMark>