Class CsvSerializer
java.lang.Object
org.apache.storm.sql.runtime.serde.csv.CsvSerializer
- All Implemented Interfaces:
- Serializable,- IOutputSerializer
CsvSerializer uses the standard RFC4180 CSV Parser
 One of the difference from Tsv format is that fields with embedded commas will be quoted.
 eg: a,"b,c",d is allowed.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionwrite(List<Object> data, ByteBuffer buffer) Serialize the data to a ByteBuffer.
- 
Constructor Details- 
CsvSerializer
 
- 
- 
Method Details- 
writeDescription copied from interface:IOutputSerializerSerialize the data to a ByteBuffer. The caller can pass in a ByteBuffer so that the serializer can reuse the memory.- Specified by:
- writein interface- IOutputSerializer
- Returns:
- A ByteBuffer contains the serialized result.
 
 
-