public static interface QueryExecution.Builder extends SdkPojo, CopyableBuilder<QueryExecution.Builder,QueryExecution>
| Modifier and Type | Method and Description |
|---|---|
default QueryExecution.Builder |
engineVersion(Consumer<EngineVersion.Builder> engineVersion)
The engine version that executed the query.
|
QueryExecution.Builder |
engineVersion(EngineVersion engineVersion)
The engine version that executed the query.
|
QueryExecution.Builder |
executionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query.
|
QueryExecution.Builder |
executionParameters(String... executionParameters)
A list of values for the parameters in a query.
|
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 and calculation results are stored and the encryption option, if any,
used for query results.
|
QueryExecution.Builder |
resultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query and calculation results are stored and the encryption option, if any,
used for query results.
|
default QueryExecution.Builder |
resultReuseConfiguration(Consumer<ResultReuseConfiguration.Builder> resultReuseConfiguration)
Specifies the query result reuse behavior that was used for the query.
|
QueryExecution.Builder |
resultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior that was used for the query.
|
QueryExecution.Builder |
statementType(StatementType statementType)
The type of query statement that was run.
|
QueryExecution.Builder |
statementType(String statementType)
The type of query statement that was run.
|
default QueryExecution.Builder |
statistics(Consumer<QueryExecutionStatistics.Builder> statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.
|
QueryExecution.Builder |
statistics(QueryExecutionStatistics statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.
|
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.
|
QueryExecution.Builder |
substatementType(String substatementType)
The kind of query statement that was run.
|
QueryExecution.Builder |
workGroup(String workGroup)
The name of the workgroup in which the query ran.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildQueryExecution.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 statementType(String statementType)
The type of query statement that was run. DDL indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT.
UTILITY indicates query statements other than DDL and DML, such as
SHOW CREATE TABLE, or DESCRIBE TABLE.
statementType - The type of query statement that was run. DDL indicates DDL query statements.
DML indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT. UTILITY indicates query statements other than DDL
and DML, such as SHOW CREATE TABLE, or DESCRIBE TABLE.StatementType,
StatementTypeQueryExecution.Builder statementType(StatementType statementType)
The type of query statement that was run. DDL indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT.
UTILITY indicates query statements other than DDL and DML, such as
SHOW CREATE TABLE, or DESCRIBE TABLE.
statementType - The type of query statement that was run. DDL indicates DDL query statements.
DML indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT. UTILITY indicates query statements other than DDL
and DML, such as SHOW CREATE TABLE, or DESCRIBE TABLE.StatementType,
StatementTypeQueryExecution.Builder resultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
resultConfiguration - The location in Amazon S3 where query and calculation results are stored and the encryption option, if
any, used for query results. These are known as "client-side settings". If workgroup settings override
client-side settings, then the query uses the location for the query results and the encryption
configuration that are specified for the workgroup.default QueryExecution.Builder resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
This is a convenience method 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.BuilderresultConfiguration(ResultConfiguration)QueryExecution.Builder resultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior that was used for the query.
resultReuseConfiguration - Specifies the query result reuse behavior that was used for the query.default QueryExecution.Builder resultReuseConfiguration(Consumer<ResultReuseConfiguration.Builder> resultReuseConfiguration)
Specifies the query result reuse behavior that was used for the query.
This is a convenience method that creates an instance of theResultReuseConfiguration.Builder
avoiding the need to create one manually via ResultReuseConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to resultReuseConfiguration(ResultReuseConfiguration).
resultReuseConfiguration - a consumer that will call methods on ResultReuseConfiguration.BuilderresultReuseConfiguration(ResultReuseConfiguration)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 method 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.BuilderqueryExecutionContext(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 method 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.Builderstatus(QueryExecutionStatus)QueryExecution.Builder statistics(QueryExecutionStatistics statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
statistics - Query execution statistics, such as the amount of data scanned, the amount of time that the query took
to process, and the type of statement that was run.default QueryExecution.Builder statistics(Consumer<QueryExecutionStatistics.Builder> statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
This is a convenience method 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.Builderstatistics(QueryExecutionStatistics)QueryExecution.Builder workGroup(String workGroup)
The name of the workgroup in which the query ran.
workGroup - The name of the workgroup in which the query ran.QueryExecution.Builder engineVersion(EngineVersion engineVersion)
The engine version that executed the query.
engineVersion - The engine version that executed the query.default QueryExecution.Builder engineVersion(Consumer<EngineVersion.Builder> engineVersion)
The engine version that executed the query.
This is a convenience method that creates an instance of theEngineVersion.Builder avoiding the need
to create one manually via EngineVersion.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to engineVersion(EngineVersion).
engineVersion - a consumer that will call methods on EngineVersion.BuilderengineVersion(EngineVersion)QueryExecution.Builder executionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur. The list of parameters is not returned in the response.
executionParameters - A list of values for the parameters in a query. The values are applied sequentially to the parameters
in the query in the order in which the parameters occur. The list of parameters is not returned in the
response.QueryExecution.Builder executionParameters(String... executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur. The list of parameters is not returned in the response.
executionParameters - A list of values for the parameters in a query. The values are applied sequentially to the parameters
in the query in the order in which the parameters occur. The list of parameters is not returned in the
response.QueryExecution.Builder substatementType(String substatementType)
The kind of query statement that was run.
substatementType - The kind of query statement that was run.Copyright © 2023. All rights reserved.