Package com.atlan.model.search
Class AuditSearch.AuditSearchBuilder<C extends AuditSearch,B extends AuditSearch.AuditSearchBuilder<C,B>>
java.lang.Object
com.atlan.model.search.CompoundQuery.CompoundQueryBuilder<C,B>
com.atlan.model.search.AuditSearch.AuditSearchBuilder<C,B>
- Enclosing class:
- AuditSearch
public abstract static class AuditSearch.AuditSearchBuilder<C extends AuditSearch,B extends AuditSearch.AuditSearchBuilder<C,B>>
extends CompoundQuery.CompoundQueryBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_includeOnResults
(String _includeOnResults) _includesOnResults
(Collection<? extends String> _includesOnResults) aggregate
(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 audit entries that will match the supplied criteria, using the most minimal query possible (retrieves minimal data).includeOnResults
(AtlanField includeOnResults) includesOnResults
(Collection<? extends AtlanField> includesOnResults) 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 audit search to retrieve audit log entries that match the supplied criteria.stream
(boolean parallel) Run the audit search to retrieve audit log entries that match the supplied criteria.Translate the Atlan audit search into an Atlan audit search request.Translate the Atlan audit search into an Atlan audit search 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
-
AuditSearchBuilder
public AuditSearchBuilder()
-
-
Method Details
-
toRequestBuilder
Translate the Atlan audit search into an Atlan audit search request builder.- Returns:
- an Atlan audit search request builder that encapsulates the audit search
-
toRequest
Translate the Atlan audit search into an Atlan audit search request.- Returns:
- an Atlan audit search request that encapsulates the audit search
-
count
Return the total number of audit entries that will match the supplied criteria, using the most minimal query possible (retrieves minimal data).- Returns:
- the count of audit entries that will match the supplied criteria
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
stream
Run the audit search to retrieve audit log entries that match the supplied criteria.- Returns:
- a stream of audit log entries that match the specified criteria, lazily-fetched
- Throws:
AtlanException
- on any issues interacting with the Atlan APIs
-
stream
Run the audit search to retrieve audit log entries that match the supplied criteria.- Parameters:
parallel
- if true, returns a parallel stream- Returns:
- a stream of audit 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
.
-
includeOnResults
-
includesOnResults
-
clearIncludesOnResults
-
_includeOnResults
-
_includesOnResults
-
clear_includesOnResults
-
self
- Specified by:
self
in classCompoundQuery.CompoundQueryBuilder<C extends AuditSearch,
B extends AuditSearch.AuditSearchBuilder<C, B>>
-
build
- Specified by:
build
in classCompoundQuery.CompoundQueryBuilder<C extends AuditSearch,
B extends AuditSearch.AuditSearchBuilder<C, B>>
-
toString
- Overrides:
toString
in classCompoundQuery.CompoundQueryBuilder<C extends AuditSearch,
B extends AuditSearch.AuditSearchBuilder<C, B>>
-