Class BucketSortAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.BucketSortAggregation
-
- All Implemented Interfaces:
JsonpSerializable,AggregationVariant
@JsonpDeserializable public class BucketSortAggregation extends AggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketSortAggregation.BuilderBuilder forBucketSortAggregation.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._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
All Methods Static Methods Instance Methods Concrete Methods 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:sort-
Methods inherited from class org.opensearch.client.opensearch._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 org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<BucketSortAggregation> _DESERIALIZER
Json deserializer forBucketSortAggregation
-
-
Method Detail
-
of
public static BucketSortAggregation of(java.util.function.Function<BucketSortAggregation.Builder,ObjectBuilder<BucketSortAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
from
@Nullable public final java.lang.Integer from()
API name:from
-
gapPolicy
@Nullable public final GapPolicy gapPolicy()
API name:gap_policy
-
size
@Nullable public final java.lang.Integer size()
API name:size
-
sort
public final java.util.List<SortOptions> sort()
API name:sort
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregationBase
-
setupBucketSortAggregationDeserializer
protected static void setupBucketSortAggregationDeserializer(ObjectDeserializer<BucketSortAggregation.Builder> op)
-
-