Class TextFileFormat

java.lang.Object
com.hazelcast.jet.pipeline.file.TextFileFormat
All Implemented Interfaces:
FileFormat<String>, Serializable

public class TextFileFormat extends Object implements FileFormat<String>
FileFormat for text files where the whole file is one String data item. See FileFormat.text() for more details.
Since:
Jet 4.4
See Also:
  • Field Details

  • Method Details

    • charset

      @Nonnull public Charset charset()
      Returns the configured character encoding.
    • format

      @Nonnull public 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 interface FileFormat<String>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object