public static class SyntheticBoundedIO.SyntheticBoundedSource
extends org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>
SyntheticBoundedIO.SyntheticBoundedSource that reads KV<byte[], byte[]>.org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>| Constructor and Description |
|---|
SyntheticBoundedSource(SyntheticBoundedIO.SyntheticSourceOptions sourceOptions) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.io.synthetic.SyntheticBoundedIO.SyntheticSourceReader |
createReader(org.apache.beam.sdk.options.PipelineOptions pipelineOptions) |
SyntheticBoundedIO.SyntheticBoundedSource |
createSourceForSubrange(long start,
long end) |
long |
getBytesPerOffset() |
org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.values.KV<byte[],byte[]>> |
getDefaultOutputCoder() |
long |
getMaxEndOffset(org.apache.beam.sdk.options.PipelineOptions options) |
java.util.List<SyntheticBoundedIO.SyntheticBoundedSource> |
split(long desiredBundleSizeBytes,
org.apache.beam.sdk.options.PipelineOptions options) |
java.lang.String |
toString() |
void |
validate() |
public SyntheticBoundedSource(SyntheticBoundedIO.SyntheticSourceOptions sourceOptions)
public org.apache.beam.sdk.coders.Coder<org.apache.beam.sdk.values.KV<byte[],byte[]>> getDefaultOutputCoder()
getDefaultOutputCoder in class org.apache.beam.sdk.io.Source<org.apache.beam.sdk.values.KV<byte[],byte[]>>public long getBytesPerOffset()
getBytesPerOffset in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public void validate()
validate in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public java.lang.String toString()
toString in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public final SyntheticBoundedIO.SyntheticBoundedSource createSourceForSubrange(long start, long end)
createSourceForSubrange in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public long getMaxEndOffset(org.apache.beam.sdk.options.PipelineOptions options)
getMaxEndOffset in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public org.apache.beam.sdk.io.synthetic.SyntheticBoundedIO.SyntheticSourceReader createReader(org.apache.beam.sdk.options.PipelineOptions pipelineOptions)
createReader in class org.apache.beam.sdk.io.BoundedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>public java.util.List<SyntheticBoundedIO.SyntheticBoundedSource> split(long desiredBundleSizeBytes, org.apache.beam.sdk.options.PipelineOptions options) throws java.lang.Exception
split in class org.apache.beam.sdk.io.OffsetBasedSource<org.apache.beam.sdk.values.KV<byte[],byte[]>>java.lang.Exception