Interface GetStatementResultV2Response.Builder

    • Method Detail

      • columnMetadata

        GetStatementResultV2Response.Builder columnMetadata​(Collection<ColumnMetadata> columnMetadata)

        The properties (metadata) of a column.

        Parameters:
        columnMetadata - The properties (metadata) of a column.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • columnMetadata

        GetStatementResultV2Response.Builder columnMetadata​(ColumnMetadata... columnMetadata)

        The properties (metadata) of a column.

        Parameters:
        columnMetadata - The properties (metadata) of a column.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetStatementResultV2Response.Builder nextToken​(String nextToken)

        A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

        Parameters:
        nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • records

        GetStatementResultV2Response.Builder records​(Collection<QueryRecords> records)

        The results of the SQL statement in CSV format.

        Parameters:
        records - The results of the SQL statement in CSV format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • records

        GetStatementResultV2Response.Builder records​(QueryRecords... records)

        The results of the SQL statement in CSV format.

        Parameters:
        records - The results of the SQL statement in CSV format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalNumRows

        GetStatementResultV2Response.Builder totalNumRows​(Long totalNumRows)

        The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResultV2 operation needed to page through the results.

        Parameters:
        totalNumRows - The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResultV2 operation needed to page through the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.