Interface ReadOptions.Builder

    • Method Detail

      • sep

        ReadOptions.Builder sep​(String sep)

        The file's field separator.

        Parameters:
        sep - The file's field separator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encoding

        ReadOptions.Builder encoding​(String encoding)

        The file's encoding.

        Parameters:
        encoding - The file's encoding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quote

        ReadOptions.Builder quote​(String quote)

        The file's quote character.

        Parameters:
        quote - The file's quote character.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quoteAll

        ReadOptions.Builder quoteAll​(Boolean quoteAll)

        Whether all values need to be quoted, or just those that contain quotes.

        Parameters:
        quoteAll - Whether all values need to be quoted, or just those that contain quotes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • escape

        ReadOptions.Builder escape​(String escape)

        A character for escaping quotes in the file.

        Parameters:
        escape - A character for escaping quotes in the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • escapeQuotes

        ReadOptions.Builder escapeQuotes​(Boolean escapeQuotes)

        Whether quotes need to be escaped in the file.

        Parameters:
        escapeQuotes - Whether quotes need to be escaped in the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • comment

        ReadOptions.Builder comment​(String comment)

        The file's comment character.

        Parameters:
        comment - The file's comment character.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • header

        ReadOptions.Builder header​(Boolean header)

        Whether the file has a header row.

        Parameters:
        header - Whether the file has a header row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lineSep

        ReadOptions.Builder lineSep​(String lineSep)

        A line separator for the file.

        Parameters:
        lineSep - A line separator for the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.