Package com.atlan.model.search
Class SearchLog.SearchLogBuilder<C extends SearchLog,B extends SearchLog.SearchLogBuilder<C,B>>
java.lang.Object
com.atlan.model.search.CompoundQuery.CompoundQueryBuilder<C,B>
com.atlan.model.search.SearchLog.SearchLogBuilder<C,B>
- Enclosing class:
- SearchLog
public abstract static class SearchLog.SearchLogBuilder<C extends SearchLog,B extends SearchLog.SearchLogBuilder<C,B>>
extends CompoundQuery.CompoundQueryBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregate
(String aggregateKey, co.elastic.clients.elasticsearch._types.aggregations.Aggregation aggregateValue) aggregations
(Map<? extends String, ? extends co.elastic.clients.elasticsearch._types.aggregations.Aggregation> aggregations) abstract C
build()
long
count()
Return the total number of search log entries that will match the supplied criteria, using the most minimal query possible (retrieves minimal data).Number of results to retrieve per underlying API request.protected abstract B
self()
sort
(co.elastic.clients.elasticsearch._types.SortOptions sort) sorts
(Collection<? extends co.elastic.clients.elasticsearch._types.SortOptions> sorts) stream()
Run the search log search to retrieve search log entries that match the supplied criteria.stream
(boolean parallel) Run the search log search to retrieve search log entries that match the supplied criteria.Translate the Atlan search log search into an Atlan search log request.Translate the Atlan search log search into an Atlan search log request builder.toString()
Methods inherited from class com.atlan.model.search.CompoundQuery.CompoundQueryBuilder
active, archived, clearWhereNots, clearWheres, clearWhereSomes, client, minSomes, tagged, tagged, taggedWithValue, taggedWithValue, where, whereNot, whereNots, wheres, whereSome, whereSomes, withLineage, withoutLineage
-
Constructor Details
-
SearchLogBuilder
public SearchLogBuilder()
-
-
Method Details
-
toRequestBuilder
Translate the Atlan search log search into an Atlan search log request builder.- Returns:
- an Atlan search log request builder that encapsulates the search
-
toRequest
Translate the Atlan search log search into an Atlan search log request.- Returns:
- an Atlan search log request that encapsulates the search
-
count
Return the total number of search log entries that will match the supplied criteria, using the most minimal query possible (retrieves minimal data).- Returns:
- the count of search log entries that will match the supplied criteria
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
stream
Run the search log search to retrieve search log entries that match the supplied criteria.- Returns:
- a stream of search log entries that match the specified criteria, lazily-fetched
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
stream
Run the search log search to retrieve search log entries that match the supplied criteria.- Parameters:
parallel
- if true, returns a parallel stream- Returns:
- a stream of search log entries that match the specified criteria, lazily-fetched
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
sort
-
sorts
-
clearSorts
-
aggregate
-
aggregations
-
clearAggregations
-
pageSize
Number of results to retrieve per underlying API request.- Returns:
this
.
-
self
- Specified by:
self
in classCompoundQuery.CompoundQueryBuilder<C extends SearchLog,
B extends SearchLog.SearchLogBuilder<C, B>>
-
build
- Specified by:
build
in classCompoundQuery.CompoundQueryBuilder<C extends SearchLog,
B extends SearchLog.SearchLogBuilder<C, B>>
-
toString
- Overrides:
toString
in classCompoundQuery.CompoundQueryBuilder<C extends SearchLog,
B extends SearchLog.SearchLogBuilder<C, B>>
-