Class BucketSortAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketSortAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class BucketSortAggregation extends AggregationBase implements AggregationVariant
-
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
-
Constructor Summary
Constructors Constructor Description BucketSortAggregation(BucketSortAggregation.Builder builder)
BucketSortAggregation(java.util.function.Function<BucketSortAggregation.Builder,BucketSortAggregation.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Aggregation
variant typejava.lang.Integer
from()
API name:from
GapPolicy
gapPolicy()
API name:gap_policy
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupBucketSortAggregationDeserializer(DelegatingDeserializer<BucketSortAggregation.Builder> op)
java.lang.Integer
size()
API name:size
java.util.List<jakarta.json.JsonValue>
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
-
-
Constructor Details
-
BucketSortAggregation
-
BucketSortAggregation
public BucketSortAggregation(java.util.function.Function<BucketSortAggregation.Builder,BucketSortAggregation.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Aggregation
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
from
@Nullable public java.lang.Integer from()API name:from
-
gapPolicy
API name:gap_policy
-
size
@Nullable public java.lang.Integer size()API name:size
-
sort
@Nullable public java.util.List<jakarta.json.JsonValue> sort()API name:sort
-
serializeInternal
- Overrides:
serializeInternal
in classAggregationBase
-
setupBucketSortAggregationDeserializer
protected static void setupBucketSortAggregationDeserializer(DelegatingDeserializer<BucketSortAggregation.Builder> op)
-