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