Package com.atlan.model.tasks
Class TaskSearchRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.tasks.TaskSearchRequest
- All Implemented Interfaces:
Serializable
Class from which to configure and run a search against Atlan's task queue.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TaskSearchRequest.TaskSearchRequestBuilder<C extends TaskSearchRequest,
B extends TaskSearchRequest.TaskSearchRequestBuilder<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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskSearchRequest.TaskSearchRequestBuilder<?,
?> static TaskSearchRequest.TaskSearchRequestBuilder<?,
?> builder
(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.static TaskSearchRequest.TaskSearchRequestBuilder<?,
?> builder
(IndexSearchDSL dsl) Build a search using the provided DSL and default options.protected boolean
boolean
getDsl()
Parameters for the search itself.int
hashCode()
search()
Run the search.search
(AtlanClient client) Run the search.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
TaskSearchRequest
-
-
Method Details
-
builder
public static TaskSearchRequest.TaskSearchRequestBuilder<?,?> builder(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.- Parameters:
query
- the query to use for the search- Returns:
- the search request, with default options
-
builder
Build a search using the provided DSL and default options.- Parameters:
dsl
- the query details to use for the search- Returns:
- the search request, with default options
-
search
Run the search.- Returns:
- the matching task queue records
- Throws:
AtlanException
-
search
Run the search.- Parameters:
client
- connectivity to the Atlan tenant on which to search the task queue- Returns:
- the matching task queue records
- Throws:
AtlanException
-
_internal
-
toBuilder
-
getDsl
Parameters for the search itself. -
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
-