Package com.atlan.model.tasks
Class TaskSearchResponse
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.net.ApiResource
com.atlan.model.tasks.TaskSearchResponse
- All Implemented Interfaces:
AtlanResponseInterface,Serializable,Iterable<AtlanTask>
Captures the response from a search against Atlan's task queue.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.net.ApiResource
ApiResource.RequestMethodNested 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.net.ApiResource
CHARSETFields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMap of results for the requested aggregations.Total number of results.Connectivity to the Atlan tenant where the search was run.Retrieve the next page of results from this response.Request used to produce this task queue response.getSpecificPage(int offset, int pageSize) Retrieve a specific page of results using the same query used to produce this response.getTasks()List of results from the search.inthashCode()iterator()Stream the results in parallel across all pages (may do more than limited to in a request).voidsetClient(AtlanClient client) Connectivity to the Atlan tenant where the search was run.voidsetRequest(TaskSearchRequest request) Request used to produce this task queue response.stream()Stream the results (lazily) for processing without needing to manually manage paging.toString()Methods inherited from class com.atlan.net.ApiResource
checkNullTypedParams, createQueryString, createQueryString, getLastResponse, getRawJsonObject, injectTraceId, request, request, request, request, request, request, request, requestPlainText, requestPlainText, setLastResponse, urlEncode, urlEncodeIdMethods inherited from class com.atlan.model.core.AtlanObject
setRawJsonObject, toJson
-
Constructor Details
-
TaskSearchResponse
public TaskSearchResponse()
-
-
Method Details
-
getNextPage
Retrieve the next page of results from this response.- Returns:
- next page of results from this response
- Throws:
AtlanException- on any API interaction problem
-
getSpecificPage
Retrieve a specific page of results using the same query used to produce this response.- Parameters:
offset- starting point for the specific pagepageSize- maximum number of results beyond the starting point to retrieve- Returns:
- specific page of results from this response
- Throws:
AtlanException- on any API interaction problem
-
iterator
-
spliterator
- Specified by:
spliteratorin interfaceIterable<AtlanTask>
-
stream
Stream the results (lazily) for processing without needing to manually manage paging.- Returns:
- a lazily-loaded stream of results from the search
-
parallelStream
Stream the results in parallel across all pages (may do more than limited to in a request).- Returns:
- a lazily-loaded stream of results from the search
-
getClient
Connectivity to the Atlan tenant where the search was run. -
getRequest
Request used to produce this task queue response. -
getTasks
List of results from the search. -
getAggregations
Map of results for the requested aggregations. -
getApproximateCount
Total number of results. -
equals
- Overrides:
equalsin classAtlanObject
-
canEqual
- Overrides:
canEqualin classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanObject
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classApiResource
-
setClient
Connectivity to the Atlan tenant where the search was run. -
setRequest
Request used to produce this task queue response.
-