@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) |
EngineVersion |
getEngineVersion()
The engine version that executed the query.
|
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.
|
String |
getStatementType()
The type of query statement that was run.
|
QueryExecutionStatistics |
getStatistics()
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.
|
QueryExecutionStatus |
getStatus()
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
String |
getWorkGroup()
The name of the workgroup in which the query ran.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEngineVersion(EngineVersion engineVersion)
The engine version that executed the query.
|
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 |
setStatementType(String statementType)
The type of query statement that was run.
|
void |
setStatistics(QueryExecutionStatistics statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.
|
void |
setStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
void |
setWorkGroup(String workGroup)
The name of the workgroup in which the query ran.
|
String |
toString()
Returns a string representation of this object.
|
QueryExecution |
withEngineVersion(EngineVersion engineVersion)
The engine version that executed the query.
|
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 |
withStatementType(StatementType statementType)
The type of query statement that was run.
|
QueryExecution |
withStatementType(String statementType)
The type of query statement that was run.
|
QueryExecution |
withStatistics(QueryExecutionStatistics statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.
|
QueryExecution |
withStatus(QueryExecutionStatus status)
The completion date, current state, submission time, and state change reason (if applicable) for the query
execution.
|
QueryExecution |
withWorkGroup(String workGroup)
The name of the workgroup in which the query ran.
|
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 setStatementType(String statementType)
The type of query statement that was run. DDL
indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT
.
UTILITY
indicates query statements other than DDL and DML, such as SHOW CREATE TABLE
,
or DESCRIBE TABLE
.
statementType
- The type of query statement that was run. DDL
indicates DDL query statements.
DML
indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT
. UTILITY
indicates query statements other than DDL and
DML, such as SHOW CREATE TABLE
, or DESCRIBE TABLE
.StatementType
public String getStatementType()
The type of query statement that was run. DDL
indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT
.
UTILITY
indicates query statements other than DDL and DML, such as SHOW CREATE TABLE
,
or DESCRIBE TABLE
.
DDL
indicates DDL query statements.
DML
indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT
. UTILITY
indicates query statements other than DDL and
DML, such as SHOW CREATE TABLE
, or DESCRIBE TABLE
.StatementType
public QueryExecution withStatementType(String statementType)
The type of query statement that was run. DDL
indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT
.
UTILITY
indicates query statements other than DDL and DML, such as SHOW CREATE TABLE
,
or DESCRIBE TABLE
.
statementType
- The type of query statement that was run. DDL
indicates DDL query statements.
DML
indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT
. UTILITY
indicates query statements other than DDL and
DML, such as SHOW CREATE TABLE
, or DESCRIBE TABLE
.StatementType
public QueryExecution withStatementType(StatementType statementType)
The type of query statement that was run. DDL
indicates DDL query statements. DML
indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT
.
UTILITY
indicates query statements other than DDL and DML, such as SHOW CREATE TABLE
,
or DESCRIBE TABLE
.
statementType
- The type of query statement that was run. DDL
indicates DDL query statements.
DML
indicates DML (Data Manipulation Language) query statements, such as
CREATE TABLE AS SELECT
. UTILITY
indicates query statements other than DDL and
DML, such as SHOW CREATE TABLE
, or DESCRIBE TABLE
.StatementType
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. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
resultConfiguration
- The location in Amazon S3 where query results were stored and the encryption option, if any, used for
query results. These are known as "client-side settings". If workgroup settings override client-side
settings, then the query uses the location for the query results and the encryption configuration that are
specified for the workgroup.public ResultConfiguration getResultConfiguration()
The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
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. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
resultConfiguration
- The location in Amazon S3 where query results were stored and the encryption option, if any, used for
query results. These are known as "client-side settings". If workgroup settings override client-side
settings, then the query uses the location for the query results and the encryption configuration that are
specified for the workgroup.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)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
statistics
- Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.public QueryExecutionStatistics getStatistics()
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
public QueryExecution withStatistics(QueryExecutionStatistics statistics)
Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.
statistics
- Query execution statistics, such as the amount of data scanned, the amount of time that the query took to
process, and the type of statement that was run.public void setWorkGroup(String workGroup)
The name of the workgroup in which the query ran.
workGroup
- The name of the workgroup in which the query ran.public String getWorkGroup()
The name of the workgroup in which the query ran.
public QueryExecution withWorkGroup(String workGroup)
The name of the workgroup in which the query ran.
workGroup
- The name of the workgroup in which the query ran.public void setEngineVersion(EngineVersion engineVersion)
The engine version that executed the query.
engineVersion
- The engine version that executed the query.public EngineVersion getEngineVersion()
The engine version that executed the query.
public QueryExecution withEngineVersion(EngineVersion engineVersion)
The engine version that executed the query.
engineVersion
- The engine version that executed the query.public String toString()
toString
in class Object
Object.toString()
public QueryExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.