Class BucketSortAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketSortAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable public class BucketSortAggregation extends AggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BucketSortAggregation.Builder
Builder forBucketSortAggregation
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
AggregationBase.AbstractBuilder<BuilderT extends AggregationBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<BucketSortAggregation>
_DESERIALIZER
Json deserializer forBucketSortAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.java.lang.Integer
from()
API name:from
GapPolicy
gapPolicy()
API name:gap_policy
static BucketSortAggregation
of(java.util.function.Function<BucketSortAggregation.Builder,ObjectBuilder<BucketSortAggregation>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupBucketSortAggregationDeserializer(ObjectDeserializer<BucketSortAggregation.Builder> op)
java.lang.Integer
size()
API name:size
java.util.List<SortOptions>
sort()
API name:sort
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forBucketSortAggregation
-
-
Method Details
-
of
public static BucketSortAggregation of(java.util.function.Function<BucketSortAggregation.Builder,ObjectBuilder<BucketSortAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
from
@Nullable public final java.lang.Integer from()API name:from
-
gapPolicy
API name:gap_policy
-
size
@Nullable public final java.lang.Integer size()API name:size
-
sort
API name:sort
-
serializeInternal
- Overrides:
serializeInternal
in classAggregationBase
-
setupBucketSortAggregationDeserializer
protected static void setupBucketSortAggregationDeserializer(ObjectDeserializer<BucketSortAggregation.Builder> op)
-