Interface ReadOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReadOptions.Builder,ReadOptions>, SdkBuilder<ReadOptions.Builder,ReadOptions>, SdkPojo
Enclosing class:
ReadOptions

public static interface ReadOptions.Builder extends SdkPojo, CopyableBuilder<ReadOptions.Builder,ReadOptions>
  • Method Details

    • 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

      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.