Package org.apache.storm.perf

# Class StrGenSpoutHdfsBoltTopo.LineWriter

java.lang.Object
org.apache.storm.perf.StrGenSpoutHdfsBoltTopo.LineWriter

All Implemented Interfaces:
  `Serializable`, `RecordFormat`

Enclosing class:
  StrGenSpoutHdfsBoltTopo

public static class StrGenSpoutHdfsBoltTopo.LineWriter extends Object implements RecordFormat

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LineWriter(String fieldName)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `format(Tuple tuple)`
  `StrGenSpoutHdfsBoltTopo.LineWriter`
  `withLineDelimiter(String delimiter)`
  Overrides the default record delimiter.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LineWriter

    public LineWriter(String fieldName)

- ## Method Details

  - ### withLineDelimiter

    public StrGenSpoutHdfsBoltTopo.LineWriter withLineDelimiter(String delimiter)
    Overrides the default record delimiter.

  - ### format

    public byte[] format(Tuple tuple)
    Specified by:
      `format` in interface `RecordFormat`