@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) |
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 |
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; useful for testing and debugging.
|
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
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.
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.QueryExecutionState
public String getState()
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.
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 QueryExecutionStatus withState(String 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.
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.QueryExecutionState
public void setState(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.
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.QueryExecutionState
public QueryExecutionStatus withState(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.
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.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 String toString()
toString
in class Object
Object.toString()
public QueryExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.