public class SimpleOutputFormatter extends Object implements OutputFormatter
| Constructor and Description |
|---|
SimpleOutputFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(backtype.storm.tuple.Tuple input)
Converts a Storm
Tuple with 1 field to a string by retrieving the value of that field. |
public String format(backtype.storm.tuple.Tuple input)
Tuple with 1 field to a string by retrieving the value of that field. This method is
used for formatting raw outputs wrapped in tuples, before writing them out to a file or to the console.format in interface OutputFormatterinput - The tuple to be formattedCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.