Interface ResultSet.Builder

    • Method Detail

      • rows

        ResultSet.Builder rows​(Collection<Row> rows)

        The rows in the table.

        Parameters:
        rows - The rows in the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rows

        ResultSet.Builder rows​(Row... rows)

        The rows in the table.

        Parameters:
        rows - The rows in the table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rows

        ResultSet.Builder rows​(Consumer<Row.Builder>... rows)

        The rows in the table.

        This is a convenience method that creates an instance of the Row.Builder avoiding the need to create one manually via Row.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rows(List).

        Parameters:
        rows - a consumer that will call methods on Row.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rows(java.util.Collection)
      • resultSetMetadata

        ResultSet.Builder resultSetMetadata​(ResultSetMetadata resultSetMetadata)

        The metadata that describes the column structure and data types of a table of query results.

        Parameters:
        resultSetMetadata - The metadata that describes the column structure and data types of a table of query results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.