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