@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryExecutionStatus extends Object implements Serializable, Cloneable, StructuredPojo
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Constructor and Description |
---|
QueryExecutionStatus() |
Modifier and Type | Method and Description |
---|---|
QueryExecutionStatus |
clone() |
boolean |
equals(Object obj) |
AthenaError |
getAthenaError()
Provides information about an Athena query error.
|
Date |
getCompletionDateTime()
The date and time that the query completed.
|
String |
getState()
The state of query execution.
|
String |
getStateChangeReason()
Further detail about the status of the query.
|
Date |
getSubmissionDateTime()
The date and time that the query was submitted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAthenaError(AthenaError athenaError)
Provides information about an Athena query error.
|
void |
setCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
|
void |
setState(QueryExecutionState state)
The state of query execution.
|
void |
setState(String state)
The state of query execution.
|
void |
setStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
|
void |
setSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
|
String |
toString()
Returns a string representation of this object.
|
QueryExecutionStatus |
withAthenaError(AthenaError athenaError)
Provides information about an Athena query error.
|
QueryExecutionStatus |
withCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
|
QueryExecutionStatus |
withState(QueryExecutionState state)
The state of query execution.
|
QueryExecutionStatus |
withState(String state)
The state of query execution.
|
QueryExecutionStatus |
withStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
|
QueryExecutionStatus |
withSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
|
public void setState(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
public String getState()
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
.
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
public QueryExecutionStatus withState(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
public void setState(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
public QueryExecutionStatus withState(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
public void setStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
stateChangeReason
- Further detail about the status of the query.public String getStateChangeReason()
Further detail about the status of the query.
public QueryExecutionStatus withStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
stateChangeReason
- Further detail about the status of the query.public void setSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
submissionDateTime
- The date and time that the query was submitted.public Date getSubmissionDateTime()
The date and time that the query was submitted.
public QueryExecutionStatus withSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
submissionDateTime
- The date and time that the query was submitted.public void setCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
completionDateTime
- The date and time that the query completed.public Date getCompletionDateTime()
The date and time that the query completed.
public QueryExecutionStatus withCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
completionDateTime
- The date and time that the query completed.public void setAthenaError(AthenaError athenaError)
Provides information about an Athena query error.
athenaError
- Provides information about an Athena query error.public AthenaError getAthenaError()
Provides information about an Athena query error.
public QueryExecutionStatus withAthenaError(AthenaError athenaError)
Provides information about an Athena query error.
athenaError
- Provides information about an Athena query error.public String toString()
toString
in class Object
Object.toString()
public QueryExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.