public static interface GetStatementResultResponse.Builder extends RedshiftDataResponse.Builder, SdkPojo, CopyableBuilder<GetStatementResultResponse.Builder,GetStatementResultResponse>
| Modifier and Type | Method and Description |
|---|---|
GetStatementResultResponse.Builder |
columnMetadata(Collection<ColumnMetadata> columnMetadata)
The properties (metadata) of a column.
|
GetStatementResultResponse.Builder |
columnMetadata(ColumnMetadata... columnMetadata)
The properties (metadata) of a column.
|
GetStatementResultResponse.Builder |
columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
The properties (metadata) of a column.
|
GetStatementResultResponse.Builder |
nextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
GetStatementResultResponse.Builder |
records(Collection<? extends Collection<Field>> records)
The results of the SQL statement.
|
GetStatementResultResponse.Builder |
records(Collection<Field>... records)
The results of the SQL statement.
|
GetStatementResultResponse.Builder |
totalNumRows(Long totalNumRows)
The total number of rows in the result set returned from a query.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetStatementResultResponse.Builder columnMetadata(Collection<ColumnMetadata> columnMetadata)
The properties (metadata) of a column.
columnMetadata - The properties (metadata) of a column.GetStatementResultResponse.Builder columnMetadata(ColumnMetadata... columnMetadata)
The properties (metadata) of a column.
columnMetadata - The properties (metadata) of a column.GetStatementResultResponse.Builder columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
The properties (metadata) of a column.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #columnMetadata(List) .columnMetadata - a consumer that will call methods on List.Builder #columnMetadata(List) GetStatementResultResponse.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.
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.GetStatementResultResponse.Builder records(Collection<? extends Collection<Field>> records)
The results of the SQL statement.
records - The results of the SQL statement.GetStatementResultResponse.Builder records(Collection<Field>... records)
The results of the SQL statement.
records - The results of the SQL statement.GetStatementResultResponse.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 GetStatementResult operation needed to page through the results.
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 GetStatementResult operation needed to page through the
results.Copyright © 2022. All rights reserved.