@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)
Marshalls this structured data using the given
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 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 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 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 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 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 errors. FAILED indicates that the query experienced an error and did not complete
processing. CANCELLED indicates that a 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 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 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 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 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 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 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 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 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 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 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 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 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 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.