Interface CSVOutput.Builder

    • Method Detail

      • quoteFields

        CSVOutput.Builder quoteFields​(String quoteFields)

        Indicates whether to use quotation marks around output fields.

        • ALWAYS: Always use quotation marks for output fields.

        • ASNEEDED: Use quotation marks for output fields when needed.

        Parameters:
        quoteFields - Indicates whether to use quotation marks around output fields.

        • ALWAYS: Always use quotation marks for output fields.

        • ASNEEDED: Use quotation marks for output fields when needed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QuoteFields, QuoteFields
      • quoteFields

        CSVOutput.Builder quoteFields​(QuoteFields quoteFields)

        Indicates whether to use quotation marks around output fields.

        • ALWAYS: Always use quotation marks for output fields.

        • ASNEEDED: Use quotation marks for output fields when needed.

        Parameters:
        quoteFields - Indicates whether to use quotation marks around output fields.

        • ALWAYS: Always use quotation marks for output fields.

        • ASNEEDED: Use quotation marks for output fields when needed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QuoteFields, QuoteFields
      • quoteEscapeCharacter

        CSVOutput.Builder quoteEscapeCharacter​(String quoteEscapeCharacter)

        The single character used for escaping the quote character inside an already escaped value.

        Parameters:
        quoteEscapeCharacter - The single character used for escaping the quote character inside an already escaped value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordDelimiter

        CSVOutput.Builder recordDelimiter​(String recordDelimiter)

        A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.

        Parameters:
        recordDelimiter - A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldDelimiter

        CSVOutput.Builder fieldDelimiter​(String fieldDelimiter)

        The value used to separate individual fields in a record. You can specify an arbitrary delimiter.

        Parameters:
        fieldDelimiter - The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quoteCharacter

        CSVOutput.Builder quoteCharacter​(String quoteCharacter)

        A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , b " .

        Parameters:
        quoteCharacter - A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , b ".
        Returns:
        Returns a reference to this object so that method calls can be chained together.