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
Constructors Constructor Description IndexSearchDSLBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description B
aggregation(co.elastic.clients.elasticsearch._types.aggregations.Aggregation aggregation)
abstract C
build()
B
clearSort()
B
from(java.lang.Integer from)
B
query(co.elastic.clients.elasticsearch._types.query_dsl.Query query)
protected abstract B
self()
B
size(java.lang.Integer size)
B
sort(java.util.Collection<? extends co.elastic.clients.elasticsearch._types.SortOptions> sort)
B
sortOption(co.elastic.clients.elasticsearch._types.SortOptions sortOption)
java.lang.String
toString()
B
trackTotalHits(java.lang.Boolean trackTotalHits)
-
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
$fillValuesFrom
-
-
-
-
Method Detail
-
self
protected abstract B self()
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,B extends IndexSearchDSL.IndexSearchDSLBuilder<C,B>>
-
build
public abstract C build()
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,B extends IndexSearchDSL.IndexSearchDSLBuilder<C,B>>
-
from
public B from(java.lang.Integer from)
- Returns:
this
.
-
size
public B size(java.lang.Integer size)
- Returns:
this
.
-
trackTotalHits
public B trackTotalHits(java.lang.Boolean trackTotalHits)
- Returns:
this
.
-
aggregation
public B aggregation(co.elastic.clients.elasticsearch._types.aggregations.Aggregation aggregation)
- Returns:
this
.
-
query
public B query(co.elastic.clients.elasticsearch._types.query_dsl.Query query)
- Returns:
this
.
-
sortOption
public B sortOption(co.elastic.clients.elasticsearch._types.SortOptions sortOption)
-
sort
public B sort(java.util.Collection<? extends co.elastic.clients.elasticsearch._types.SortOptions> sort)
-
clearSort
public B clearSort()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchDSL,B extends IndexSearchDSL.IndexSearchDSLBuilder<C,B>>
-
-