Package com.atlan.model.admin
Class QueryRequest.QueryRequestBuilder<C extends QueryRequest,B extends QueryRequest.QueryRequestBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.QueryRequest.QueryRequestBuilder<C,B>
- Enclosing class:
- QueryRequest
public abstract static class QueryRequest.QueryRequestBuilder<C extends QueryRequest,B extends QueryRequest.QueryRequestBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
dataSourceName
(String dataSourceName) Unique name of the connection to use for the query.defaultSchema
(String defaultSchema) Default schema name to use for unqualified objects in the SQL, in the formDB.SCHEMA
.protected abstract B
self()
SQL query to run.toString()
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
QueryRequestBuilder
public QueryRequestBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends QueryRequest,
B extends QueryRequest.QueryRequestBuilder<C, B>>
-
sql
SQL query to run.- Returns:
this
.
-
dataSourceName
Unique name of the connection to use for the query.- Returns:
this
.
-
defaultSchema
Default schema name to use for unqualified objects in the SQL, in the formDB.SCHEMA
.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends QueryRequest,
B extends QueryRequest.QueryRequestBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends QueryRequest,
B extends QueryRequest.QueryRequestBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends QueryRequest,
B extends QueryRequest.QueryRequestBuilder<C, B>>
-