public static class KafkaClientHdfsTopo.LineWriter extends Object implements RecordFormat
| Constructor and Description |
|---|
LineWriter(String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
format(Tuple tuple) |
KafkaClientHdfsTopo.LineWriter |
withLineDelimiter(String delimiter)
Overrides the default record delimiter.
|
public LineWriter(String fieldName)
public KafkaClientHdfsTopo.LineWriter withLineDelimiter(String delimiter)
Overrides the default record delimiter.
delimiter - public byte[] format(Tuple tuple)
format in interface RecordFormatCopyright © 2019 The Apache Software Foundation. All rights reserved.