Package org.apache.storm.sql.runtime
Interface IOutputSerializer
-
- All Known Implementing Classes:
AvroSerializer
,CsvSerializer
,JsonSerializer
,TsvSerializer
public interface IOutputSerializer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuffer
write(List<Object> data, ByteBuffer buffer)
Serialize the data to a ByteBuffer.
-
-
-
Method Detail
-
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.
-
-