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