Interface GetQueryResultsResponse.Builder

  • Method Details

    • columnInfo

      A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.

      Parameters:
      columnInfo - A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnInfo

      A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.

      Parameters:
      columnInfo - A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnInfo

      A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to columnInfo(List<ColumnInformation>).

      Parameters:
      columnInfo - a consumer that will call methods on ColumnInformation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rows

      The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.

      Parameters:
      rows - The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rows

      The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.

      Parameters:
      rows - The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token for the next set of results, or null if there are no additional results.

      Parameters:
      nextToken - The token for the next set of results, or null if there are no additional results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.