public class TupleOutputFormatter extends Object implements OutputFormatter
OutputFormatter
implementation that converts Tuples
of arbitrary size to a string. For a given
tuple the output is (field1,field2,...,fieldX)
.Constructor and Description |
---|
TupleOutputFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(org.apache.storm.tuple.Tuple input)
Converts a Storm
Tuple to a string. |
public String format(org.apache.storm.tuple.Tuple input)
OutputFormatter
Tuple
to a string. This method is used for formatting the output tuples before writing
them out to a file or to the console.format
in interface OutputFormatter
input
- The tuple to be formattedCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.