@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryExecution extends Object implements Serializable, Cloneable, StructuredPojo
Information about a single instance of a query execution.
Constructor and Description |
---|
QueryExecution() |
Modifier and Type | Method and Description |
---|---|
QueryExecution |
clone() |
boolean |
equals(Object obj) |
String |
getQuery()
The SQL query statements which the query execution ran.
|
QueryExecutionContext |
getQueryExecutionContext()
The database in which the query execution occurred.
|
String |
getQueryExecutionId()
The unique identifier for each query execution.
|
ResultConfiguration |
getResultConfiguration()
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query
results.
|
QueryExecutionStatistics |
getStatistics()
The amount of data scanned during the query execution and the amount of time that it took to execute.
|
QueryExecutionStatus |
getStatus()
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQuery(String query)
The SQL query statements which the query execution ran.
|
void |
setQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
|
void |
setQueryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
|
void |
setResultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query
results.
|
void |
setStatistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
|
void |
setStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
QueryExecution |
withQuery(String query)
The SQL query statements which the query execution ran.
|
QueryExecution |
withQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
|
QueryExecution |
withQueryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
|
QueryExecution |
withResultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query
results.
|
QueryExecution |
withStatistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
|
QueryExecution |
withStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
public void setQueryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
queryExecutionId
- The unique identifier for each query execution.public String getQueryExecutionId()
The unique identifier for each query execution.
public QueryExecution withQueryExecutionId(String queryExecutionId)
The unique identifier for each query execution.
queryExecutionId
- The unique identifier for each query execution.public void setQuery(String query)
The SQL query statements which the query execution ran.
query
- The SQL query statements which the query execution ran.public String getQuery()
The SQL query statements which the query execution ran.
public QueryExecution withQuery(String query)
The SQL query statements which the query execution ran.
query
- The SQL query statements which the query execution ran.public void setResultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
resultConfiguration
- The location in Amazon S3 where query results were stored and the encryption option, if any, used for
query results.public ResultConfiguration getResultConfiguration()
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
public QueryExecution withResultConfiguration(ResultConfiguration resultConfiguration)
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
resultConfiguration
- The location in Amazon S3 where query results were stored and the encryption option, if any, used for
query results.public void setQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
queryExecutionContext
- The database in which the query execution occurred.public QueryExecutionContext getQueryExecutionContext()
The database in which the query execution occurred.
public QueryExecution withQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database in which the query execution occurred.
queryExecutionContext
- The database in which the query execution occurred.public void setStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
status
- The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.public QueryExecutionStatus getStatus()
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
public QueryExecution withStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
status
- The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.public void setStatistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
statistics
- The amount of data scanned during the query execution and the amount of time that it took to execute.public QueryExecutionStatistics getStatistics()
The amount of data scanned during the query execution and the amount of time that it took to execute.
public QueryExecution withStatistics(QueryExecutionStatistics statistics)
The amount of data scanned during the query execution and the amount of time that it took to execute.
statistics
- The amount of data scanned during the query execution and the amount of time that it took to execute.public String toString()
toString
in class Object
Object.toString()
public QueryExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.