public static interface QueryExecution.Builder extends CopyableBuilder<QueryExecution.Builder,QueryExecution>
Modifier and Type | Method and Description |
---|---|
QueryExecution.Builder |
query(String query)
The SQL query statements which the query execution ran.
|
default QueryExecution.Builder |
queryExecutionContext(Consumer<QueryExecutionContext.Builder> queryExecutionContext)
The database in which the query execution occurred.
|
QueryExecution.Builder |
queryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
|
QueryExecution.Builder |
queryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
|
default QueryExecution.Builder |
resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query
results.
|
QueryExecution.Builder |
resultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query
results.
|
default QueryExecution.Builder |
statistics(Consumer<QueryExecutionStatistics.Builder> statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
|
QueryExecution.Builder |
statistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
|
default QueryExecution.Builder |
status(Consumer<QueryExecutionStatus.Builder> status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
QueryExecution.Builder |
status(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
copy
applyMutation, build
QueryExecution.Builder queryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
queryExecutionId
- The unique identifier for each query execution.QueryExecution.Builder query(String query)
The SQL query statements which the query execution ran.
query
- The SQL query statements which the query execution ran.QueryExecution.Builder resultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
resultConfiguration
- The location in Amazon S3 where query results were stored and the encryption option, if any, used for
query results.default QueryExecution.Builder resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
This is a convenience that creates an instance of theResultConfiguration.Builder
avoiding the need
to create one manually via ResultConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to resultConfiguration(ResultConfiguration)
.resultConfiguration
- a consumer that will call methods on ResultConfiguration.Builder
resultConfiguration(ResultConfiguration)
QueryExecution.Builder queryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
queryExecutionContext
- The database in which the query execution occurred.default QueryExecution.Builder queryExecutionContext(Consumer<QueryExecutionContext.Builder> queryExecutionContext)
The database in which the query execution occurred.
This is a convenience that creates an instance of theQueryExecutionContext.Builder
avoiding the need
to create one manually via QueryExecutionContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to queryExecutionContext(QueryExecutionContext)
.queryExecutionContext
- a consumer that will call methods on QueryExecutionContext.Builder
queryExecutionContext(QueryExecutionContext)
QueryExecution.Builder status(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
status
- The completion date, current state, submission time, and state change reason (if applicable) for the
query execution.default QueryExecution.Builder status(Consumer<QueryExecutionStatus.Builder> status)
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
This is a convenience that creates an instance of theQueryExecutionStatus.Builder
avoiding the need
to create one manually via QueryExecutionStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to status(QueryExecutionStatus)
.status
- a consumer that will call methods on QueryExecutionStatus.Builder
status(QueryExecutionStatus)
QueryExecution.Builder statistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
statistics
- The amount of data scanned during the query execution and the amount of time that it took to execute.default QueryExecution.Builder statistics(Consumer<QueryExecutionStatistics.Builder> statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
This is a convenience that creates an instance of theQueryExecutionStatistics.Builder
avoiding the
need to create one manually via QueryExecutionStatistics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to statistics(QueryExecutionStatistics)
.statistics
- a consumer that will call methods on QueryExecutionStatistics.Builder
statistics(QueryExecutionStatistics)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.