Package com.atlan.model.admin
Class QueryRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.QueryRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QueryRequest.QueryRequestBuilder<C extends QueryRequest,
B extends QueryRequest.QueryRequestBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryRequest.QueryRequestBuilder<?,
?> builder()
protected boolean
static QueryRequest.QueryRequestBuilder<?,
?> Builds the minimal object necessary to run a query.boolean
Unique name of the connection to use for the query.Default schema name to use for unqualified objects in the SQL, in the formDB.SCHEMA
.getSql()
SQL query to run.int
hashCode()
toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
QueryRequest
-
-
Method Details
-
creator
public static QueryRequest.QueryRequestBuilder<?,?> creator(String sql, String connectionQualifiedName) Builds the minimal object necessary to run a query.- Parameters:
sql
- the SQL code to parseconnectionQualifiedName
- qualifiedName of the connection on which to run the query- Returns:
- the minimal request necessary to run a query, as a builder
-
builder
-
toBuilder
-
getSql
SQL query to run. -
getDataSourceName
Unique name of the connection to use for the query. -
getDefaultSchema
Default schema name to use for unqualified objects in the SQL, in the formDB.SCHEMA
. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-