Interface SourceSchema.Builder

    • Method Detail

      • recordFormat

        SourceSchema.Builder recordFormat​(RecordFormat recordFormat)

        Specifies the format of the records on the streaming source.

        Parameters:
        recordFormat - Specifies the format of the records on the streaming source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordEncoding

        SourceSchema.Builder recordEncoding​(String recordEncoding)

        Specifies the encoding of the records in the streaming source. For example, UTF-8.

        Parameters:
        recordEncoding - Specifies the encoding of the records in the streaming source. For example, UTF-8.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordColumns

        SourceSchema.Builder recordColumns​(Collection<RecordColumn> recordColumns)

        A list of RecordColumn objects.

        Parameters:
        recordColumns - A list of RecordColumn objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recordColumns

        SourceSchema.Builder recordColumns​(RecordColumn... recordColumns)

        A list of RecordColumn objects.

        Parameters:
        recordColumns - A list of RecordColumn objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.