@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryExecutionContext extends Object implements Serializable, Cloneable, StructuredPojo
The database and data catalog context in which the query execution occurs.
| Constructor and Description |
|---|
QueryExecutionContext() |
| Modifier and Type | Method and Description |
|---|---|
QueryExecutionContext |
clone() |
boolean |
equals(Object obj) |
String |
getCatalog()
The name of the data catalog used in the query execution.
|
String |
getDatabase()
The name of the database used in the query execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCatalog(String catalog)
The name of the data catalog used in the query execution.
|
void |
setDatabase(String database)
The name of the database used in the query execution.
|
String |
toString()
Returns a string representation of this object.
|
QueryExecutionContext |
withCatalog(String catalog)
The name of the data catalog used in the query execution.
|
QueryExecutionContext |
withDatabase(String database)
The name of the database used in the query execution.
|
public void setDatabase(String database)
The name of the database used in the query execution. The database must exist in the catalog.
database - The name of the database used in the query execution. The database must exist in the catalog.public String getDatabase()
The name of the database used in the query execution. The database must exist in the catalog.
public QueryExecutionContext withDatabase(String database)
The name of the database used in the query execution. The database must exist in the catalog.
database - The name of the database used in the query execution. The database must exist in the catalog.public void setCatalog(String catalog)
The name of the data catalog used in the query execution.
catalog - The name of the data catalog used in the query execution.public String getCatalog()
The name of the data catalog used in the query execution.
public QueryExecutionContext withCatalog(String catalog)
The name of the data catalog used in the query execution.
catalog - The name of the data catalog used in the query execution.public String toString()
toString in class ObjectObject.toString()public QueryExecutionContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.