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 and Description
    `LineWriter(String fieldName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### LineWriter

          public LineWriter(String fieldName)

  - ### Method Detail

    - #### withLineDelimiter

          public StrGenSpoutHdfsBoltTopo.LineWriter withLineDelimiter(String delimiter)

      Overrides the default record delimiter.

    - #### format

          public byte[] format(Tuple tuple)

      Specified by:
        `format` in interface `RecordFormat`

Copyright © 2021 The Apache Software Foundation. All rights reserved.