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>
,java.io.Serializable
public class CsvFileFormat<T> extends java.lang.Object implements FileFormat<T>
FileFormat
for CSV files. SeeFileFormat.csv(java.util.List<java.lang.String>)
for more details.- Since:
- Jet 4.4
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FORMAT_CSV
Format ID for CSV.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<T>
clazz()
Returns the class Jet will deserialize data into.boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
fieldNames()
Return the desired list of fields that is used withString[]
class.java.lang.String
format()
Returns the name of the file format.int
hashCode()
-
-
-
Field Detail
-
FORMAT_CSV
public static final java.lang.String FORMAT_CSV
Format ID for CSV.- See Also:
- Constant Field Values
-
-
Method Detail
-
format
@Nonnull public java.lang.String 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
@Nonnull public java.lang.Class<T> clazz()
Returns the class Jet will deserialize data into.
-
fieldNames
@Nullable public java.util.List<java.lang.String> fieldNames()
Return the desired list of fields that is used withString[]
class.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-