Package com.atlan.model.search
Class CompoundQuery
java.lang.Object
com.atlan.model.search.CompoundQuery
- Direct Known Subclasses:
AuditSearch
,FluentSearch
Class to compose compound queries combining various conditions.
(Along with some static factory methods for some of the most common queries.)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CompoundQuery.CompoundQueryBuilder<C extends CompoundQuery,
B extends CompoundQuery.CompoundQueryBuilder<C, B>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionco.elastic.clients.elasticsearch._types.query_dsl.Query
toQuery()
Translate the Atlan compound query into an Elastic Query object.co.elastic.clients.elasticsearch._types.query_dsl.Query
Translate the Atlan compound query into an Elastic Query object, with an outer bool query and inner filtered bool query (necessary for some UI elements).
-
Constructor Details
-
CompoundQuery
-
-
Method Details
-
toQuery
public co.elastic.clients.elasticsearch._types.query_dsl.Query toQuery()Translate the Atlan compound query into an Elastic Query object.- Returns:
- an Elastic Query object that represents the compound query
-
toUnfilteredQuery
public co.elastic.clients.elasticsearch._types.query_dsl.Query toUnfilteredQuery()Translate the Atlan compound query into an Elastic Query object, with an outer bool query and inner filtered bool query (necessary for some UI elements).- Returns:
- the Elastic Query object that represents the compound query
-