Package com.hazelcast.jet.pipeline.file
Class LinesTextFileFormat
- java.lang.Object
-
- com.hazelcast.jet.pipeline.file.LinesTextFileFormat
-
- All Implemented Interfaces:
FileFormat<java.lang.String>
,java.io.Serializable
public class LinesTextFileFormat extends java.lang.Object implements FileFormat<java.lang.String>
FileFormat
for text files where each line is aString
data item. SeeFileFormat.lines()
for more details.- Since:
- Jet 4.4
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FORMAT_LINES
Format ID for text file as lines.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.charset.Charset
charset()
Returns the configured character encoding.boolean
equals(java.lang.Object o)
java.lang.String
format()
Returns the name of the file format.int
hashCode()
-
-
-
Field Detail
-
FORMAT_LINES
public static final java.lang.String FORMAT_LINES
Format ID for text file as lines.- See Also:
- Constant Field Values
-
-
Method Detail
-
charset
public java.nio.charset.Charset charset()
Returns the configured character encoding.
-
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<java.lang.String>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-