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 classBucketSortAggregation.BuilderBuilder 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>_DESERIALIZERJson deserializer forBucketSortAggregation -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.java.lang.Integerfrom()API name:fromGapPolicygapPolicy()API name:gap_policystatic BucketSortAggregationof(java.util.function.Function<BucketSortAggregation.Builder,ObjectBuilder<BucketSortAggregation>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupBucketSortAggregationDeserializer(ObjectDeserializer<BucketSortAggregation.Builder> op)java.lang.Integersize()API name:sizejava.util.List<SortOptions>sort()API name:sortMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
_aggregationKindin 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:
serializeInternalin classAggregationBase
-
setupBucketSortAggregationDeserializer
protected static void setupBucketSortAggregationDeserializer(ObjectDeserializer<BucketSortAggregation.Builder> op)
-