@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.
|
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.
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.QueryExecutionStatepublic 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.
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.QueryExecutionStatepublic 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.
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.QueryExecutionStatepublic 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.
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.QueryExecutionStatepublic 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.
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.QueryExecutionStatepublic 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 ObjectObject.toString()public QueryExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.