public static class BeamKafkaCSVTable.CsvRecorderDecoder
extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<byte[],byte[]>>,org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row>>
KV<byte[], byte[]> to Row.| Constructor and Description |
|---|
CsvRecorderDecoder(org.apache.beam.sdk.schemas.Schema schema,
org.apache.commons.csv.CSVFormat format) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row> |
expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<byte[],byte[]>> input) |
public CsvRecorderDecoder(org.apache.beam.sdk.schemas.Schema schema,
org.apache.commons.csv.CSVFormat format)
public org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row> expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<byte[],byte[]>> input)
expand in class org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<byte[],byte[]>>,org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.Row>>