public static interface QueryResponse.Builder extends TimestreamQueryResponse.Builder, SdkPojo, CopyableBuilder<QueryResponse.Builder,QueryResponse>
| Modifier and Type | Method and Description |
|---|---|
QueryResponse.Builder |
columnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
|
QueryResponse.Builder |
columnInfo(ColumnInfo... columnInfo)
The column data types of the returned result set.
|
QueryResponse.Builder |
columnInfo(Consumer<ColumnInfo.Builder>... columnInfo)
The column data types of the returned result set.
|
QueryResponse.Builder |
nextToken(String nextToken)
A pagination token that can be used again on a
Query call to get the next set of results. |
QueryResponse.Builder |
queryId(String queryId)
A unique ID for the given query.
|
default QueryResponse.Builder |
queryStatus(Consumer<QueryStatus.Builder> queryStatus)
Information about the status of the query, including progress and bytes scannned.
|
QueryResponse.Builder |
queryStatus(QueryStatus queryStatus)
Information about the status of the query, including progress and bytes scannned.
|
QueryResponse.Builder |
rows(Collection<Row> rows)
The result set rows returned by the query.
|
QueryResponse.Builder |
rows(Consumer<Row.Builder>... rows)
The result set rows returned by the query.
|
QueryResponse.Builder |
rows(Row... rows)
The result set rows returned by the query.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildQueryResponse.Builder queryId(String queryId)
A unique ID for the given query.
queryId - A unique ID for the given query.QueryResponse.Builder nextToken(String nextToken)
A pagination token that can be used again on a Query call to get the next set of results.
nextToken - A pagination token that can be used again on a Query call to get the next set of results.QueryResponse.Builder rows(Collection<Row> rows)
The result set rows returned by the query.
rows - The result set rows returned by the query.QueryResponse.Builder rows(Row... rows)
The result set rows returned by the query.
rows - The result set rows returned by the query.QueryResponse.Builder rows(Consumer<Row.Builder>... rows)
The result set rows returned by the query.
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 #rows(List)
.rows - a consumer that will call methods on List.Builder
#rows(List)
QueryResponse.Builder columnInfo(Collection<ColumnInfo> columnInfo)
The column data types of the returned result set.
columnInfo - The column data types of the returned result set.QueryResponse.Builder columnInfo(ColumnInfo... columnInfo)
The column data types of the returned result set.
columnInfo - The column data types of the returned result set.QueryResponse.Builder columnInfo(Consumer<ColumnInfo.Builder>... columnInfo)
The column data types of the returned result set.
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 #columnInfo(List) .columnInfo - a consumer that will call methods on List.Builder #columnInfo(List) QueryResponse.Builder queryStatus(QueryStatus queryStatus)
Information about the status of the query, including progress and bytes scannned.
queryStatus - Information about the status of the query, including progress and bytes scannned.default QueryResponse.Builder queryStatus(Consumer<QueryStatus.Builder> queryStatus)
Information about the status of the query, including progress and bytes scannned.
This is a convenience that creates an instance of theQueryStatus.Builder avoiding the need to create
one manually via QueryStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to queryStatus(QueryStatus).queryStatus - a consumer that will call methods on QueryStatus.BuilderqueryStatus(QueryStatus)Copyright © 2021. All rights reserved.