Package org.apache.storm.sql.runtime

# Interface IOutputSerializer

All Known Implementing Classes:
  `AvroSerializer`, `CsvSerializer`, `JsonSerializer`, `TsvSerializer`

public interface IOutputSerializer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ByteBuffer`
  `write(List<Object> data, ByteBuffer buffer)`
  Serialize the data to a ByteBuffer.

- ## Method Details

  - ### write

    ByteBuffer write(List<Object> data, ByteBuffer buffer)
    Serialize the data to a ByteBuffer. The caller can pass in a ByteBuffer so that the serializer can reuse the memory.
    Returns:
      A ByteBuffer contains the serialized result.