Package com.atlan.model.search
Class IndexSearchDSL.IndexSearchDSLBuilder<C extends IndexSearchDSL,B extends IndexSearchDSL.IndexSearchDSLBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.search.IndexSearchDSL.IndexSearchDSLBuilder<C,B>
- Direct Known Subclasses:
WorkflowSearchRequest.WorkflowSearchRequestBuilder
- Enclosing class:
- IndexSearchDSL
public abstract static class IndexSearchDSL.IndexSearchDSLBuilder<C extends IndexSearchDSL,B extends IndexSearchDSL.IndexSearchDSLBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) aggregation
(String aggregationKey, co.elastic.clients.elasticsearch._types.aggregations.Aggregation aggregationValue) aggregations
(Map<? extends String, ? extends co.elastic.clients.elasticsearch._types.aggregations.Aggregation> aggregations) abstract C
build()
Starting point for paging.query
(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Query to run.protected abstract B
self()
Number of results to return per page.sort
(Collection<? extends co.elastic.clients.elasticsearch._types.SortOptions> sort) sortOption
(co.elastic.clients.elasticsearch._types.SortOptions sortOption) toString()
trackTotalHits
(Boolean trackTotalHits) When true, specify the precise number of results in the response, otherwise estimate and max-out at 10,000.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
IndexSearchDSLBuilder
public IndexSearchDSLBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,
B extends IndexSearchDSL.IndexSearchDSLBuilder<C, B>>
-
from
Starting point for paging. Defaults to 0 (very first result) if not overridden.- Returns:
this
.
-
size
Number of results to return per page. Defaults to 300 results per page if not overridden.- Returns:
this
.
-
trackTotalHits
When true, specify the precise number of results in the response, otherwise estimate and max-out at 10,000. (Defaults to true.)- Returns:
this
.
-
aggregation
-
aggregations
-
clearAggregations
-
query
Query to run.- Returns:
this
.
-
sortOption
-
sort
-
clearSort
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,
B extends IndexSearchDSL.IndexSearchDSLBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,
B extends IndexSearchDSL.IndexSearchDSLBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,
B extends IndexSearchDSL.IndexSearchDSLBuilder<C, B>>
-