Class CsvScheme
- java.lang.Object
-
- org.apache.storm.sql.runtime.serde.csv.CsvScheme
-
- All Implemented Interfaces:
Serializable
,Scheme
public class CsvScheme extends Object implements Scheme
CsvScheme 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:
- RFC4180, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
deserialize(ByteBuffer ser)
Fields
getOutputFields()
-
-
-
Method Detail
-
deserialize
public List<Object> deserialize(ByteBuffer ser)
- Specified by:
deserialize
in interfaceScheme
-
getOutputFields
public Fields getOutputFields()
- Specified by:
getOutputFields
in interfaceScheme
-
-