Package com.hazelcast.jet.pipeline.file
Class CsvFileFormat<T>
java.lang.Object
com.hazelcast.jet.pipeline.file.CsvFileFormat<T>
- Type Parameters:
T
- type of items a source using this file format will emit
- All Implemented Interfaces:
FileFormat<T>
,Serializable
public class CsvFileFormat<T> extends Object implements FileFormat<T>
FileFormat
for CSV files. See FileFormat.csv(java.util.List<java.lang.String>)
for more
details.- Since:
- 4.4
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
FORMAT_CSV
Format ID for CSV. -
Method Summary
-
Field Details
-
FORMAT_CSV
Format ID for CSV.- See Also:
- Constant Field Values
-
-
Method Details
-
format
Description copied from interface:FileFormat
Returns the name of the file format. The convention is to use the well-known filename suffix or, if there is none, a short-form name of the format.- Specified by:
format
in interfaceFileFormat<T>
-
clazz
Returns the class Jet will deserialize data into. -
fieldNames
Return the desired list of fields that is used withString[]
class.
-