Package com.atlan.model.search
Class SearchLogResponse
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.net.ApiResource
com.atlan.model.search.SearchLogResponse
- All Implemented Interfaces:
AtlanResponseInterface,Serializable,Iterable<SearchLogEntry>
Captures the response from a search against Atlan's search log. Also provides the ability to iteratively
page through results, without needing to track or re-run the original query using
getNextPage().- 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.Approximate number of total results.Connectivity to the Atlan tenant where the search was run.List of results from the search.Retrieve the next page of results from this response.Parameters for the search.getSpecificPage(int offset, int pageSize) Retrieve a specific page of results using the same query used to produce this response.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.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, request, request, request, request, request, request, request, requestPlainText, requestPlainText, setLastResponse, urlEncode, urlEncodeIdMethods inherited from class com.atlan.model.core.AtlanObject
setRawJsonObject, toJson
-
Constructor Details
-
SearchLogResponse
public SearchLogResponse()
-
-
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
- Specified by:
iteratorin interfaceIterable<SearchLogEntry>
-
spliterator
- Specified by:
spliteratorin interfaceIterable<SearchLogEntry>
-
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. -
getSearchParameters
Parameters for the search. -
getLogEntries
List of results from the search. -
getApproximateCount
Approximate number of total results. -
getAggregations
Map of results for the requested aggregations. -
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.
-