public static interface QueryExecutionStatus.Builder extends SdkPojo, CopyableBuilder<QueryExecutionStatus.Builder,QueryExecutionStatus>
| Modifier and Type | Method and Description |
|---|---|
QueryExecutionStatus.Builder |
athenaError(AthenaError athenaError)
Provides information about an Athena query error.
|
default QueryExecutionStatus.Builder |
athenaError(Consumer<AthenaError.Builder> athenaError)
Provides information about an Athena query error.
|
QueryExecutionStatus.Builder |
completionDateTime(Instant completionDateTime)
The date and time that the query completed.
|
QueryExecutionStatus.Builder |
state(QueryExecutionState state)
The state of query execution.
|
QueryExecutionStatus.Builder |
state(String state)
The state of query execution.
|
QueryExecutionStatus.Builder |
stateChangeReason(String stateChangeReason)
Further detail about the status of the query.
|
QueryExecutionStatus.Builder |
submissionDateTime(Instant submissionDateTime)
The date and time that the query was submitted.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildQueryExecutionStatus.Builder state(String state)
The state of query execution. QUEUED indicates that the query has been submitted to the service,
and Athena will execute the query as soon as resources are available. RUNNING indicates that the
query is in execution phase. SUCCEEDED indicates that the query completed without errors.
FAILED indicates that the query experienced an error and did not complete processing.
CANCELLED indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the
query state transition from RUNNING or FAILED to QUEUED.
state - The state of query execution. QUEUED indicates that the query has been submitted to the
service, and Athena will execute the query as soon as resources are available. RUNNING
indicates that the query is in execution phase. SUCCEEDED indicates that the query
completed without errors. FAILED indicates that the query experienced an error and did
not complete processing. CANCELLED indicates that a user input interrupted query
execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may
see the query state transition from RUNNING or FAILED to QUEUED
.
QueryExecutionState,
QueryExecutionStateQueryExecutionStatus.Builder state(QueryExecutionState state)
The state of query execution. QUEUED indicates that the query has been submitted to the service,
and Athena will execute the query as soon as resources are available. RUNNING indicates that the
query is in execution phase. SUCCEEDED indicates that the query completed without errors.
FAILED indicates that the query experienced an error and did not complete processing.
CANCELLED indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the
query state transition from RUNNING or FAILED to QUEUED.
state - The state of query execution. QUEUED indicates that the query has been submitted to the
service, and Athena will execute the query as soon as resources are available. RUNNING
indicates that the query is in execution phase. SUCCEEDED indicates that the query
completed without errors. FAILED indicates that the query experienced an error and did
not complete processing. CANCELLED indicates that a user input interrupted query
execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may
see the query state transition from RUNNING or FAILED to QUEUED
.
QueryExecutionState,
QueryExecutionStateQueryExecutionStatus.Builder stateChangeReason(String stateChangeReason)
Further detail about the status of the query.
stateChangeReason - Further detail about the status of the query.QueryExecutionStatus.Builder submissionDateTime(Instant submissionDateTime)
The date and time that the query was submitted.
submissionDateTime - The date and time that the query was submitted.QueryExecutionStatus.Builder completionDateTime(Instant completionDateTime)
The date and time that the query completed.
completionDateTime - The date and time that the query completed.QueryExecutionStatus.Builder athenaError(AthenaError athenaError)
Provides information about an Athena query error.
athenaError - Provides information about an Athena query error.default QueryExecutionStatus.Builder athenaError(Consumer<AthenaError.Builder> athenaError)
Provides information about an Athena query error.
This is a convenience method that creates an instance of theAthenaError.Builder avoiding the need to
create one manually via AthenaError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to athenaError(AthenaError).
athenaError - a consumer that will call methods on AthenaError.BuilderathenaError(AthenaError)Copyright © 2023. All rights reserved.