@Generated(value="software.amazon.awssdk:codegen") public final class QueryExecutionStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryExecutionStatus.Builder,QueryExecutionStatus>
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Modifier and Type | Class and Description |
---|---|
static interface |
QueryExecutionStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static QueryExecutionStatus.Builder |
builder() |
Instant |
completionDateTime()
The date and time that the query completed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends QueryExecutionStatus.Builder> |
serializableBuilderClass() |
QueryExecutionState |
state()
The state of query execution.
|
String |
stateAsString()
The state of query execution.
|
String |
stateChangeReason()
Further detail about the status of the query.
|
Instant |
submissionDateTime()
The date and time that the query was submitted.
|
QueryExecutionStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public QueryExecutionState state()
The state of query execution. QUEUED
state is listed but is not used by Athena and is reserved for
future use. RUNNING
indicates that the query has been submitted to the service, and Athena will
execute the query as soon as resources are available. SUCCEEDED
indicates that the query completed
without error. FAILED
indicates that the query experienced an error and did not complete processing.
CANCELLED
indicates that user input interrupted query execution.
If the service returns an enum value that is not available in the current SDK version, state
will return
QueryExecutionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
QUEUED
state is listed but is not used by Athena and is
reserved for future use. RUNNING
indicates that the query has been submitted to the service,
and Athena will execute the query as soon as resources are available. SUCCEEDED
indicates
that the query completed without error. FAILED
indicates that the query experienced an error
and did not complete processing.CANCELLED
indicates that user input interrupted query
execution.QueryExecutionState
public String stateAsString()
The state of query execution. QUEUED
state is listed but is not used by Athena and is reserved for
future use. RUNNING
indicates that the query has been submitted to the service, and Athena will
execute the query as soon as resources are available. SUCCEEDED
indicates that the query completed
without error. FAILED
indicates that the query experienced an error and did not complete processing.
CANCELLED
indicates that user input interrupted query execution.
If the service returns an enum value that is not available in the current SDK version, state
will return
QueryExecutionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
QUEUED
state is listed but is not used by Athena and is
reserved for future use. RUNNING
indicates that the query has been submitted to the service,
and Athena will execute the query as soon as resources are available. SUCCEEDED
indicates
that the query completed without error. FAILED
indicates that the query experienced an error
and did not complete processing.CANCELLED
indicates that user input interrupted query
execution.QueryExecutionState
public String stateChangeReason()
Further detail about the status of the query.
public Instant submissionDateTime()
The date and time that the query was submitted.
public Instant completionDateTime()
The date and time that the query completed.
public QueryExecutionStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<QueryExecutionStatus.Builder,QueryExecutionStatus>
public static QueryExecutionStatus.Builder builder()
public static Class<? extends QueryExecutionStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.