Class BucketScriptAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketScriptAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable public class BucketScriptAggregation extends PipelineAggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketScriptAggregation.BuilderBuilder forBucketScriptAggregation.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
PipelineAggregationBase.AbstractBuilder<BuilderT extends PipelineAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<BucketScriptAggregation>_DESERIALIZERJson deserializer forBucketScriptAggregation -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.static BucketScriptAggregationof(java.util.function.Function<BucketScriptAggregation.Builder,ObjectBuilder<BucketScriptAggregation>> fn)Scriptscript()API name:scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupBucketScriptAggregationDeserializer(ObjectDeserializer<BucketScriptAggregation.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
bucketsPath, format, gapPolicy, setupPipelineAggregationBaseDeserializerMethods 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 forBucketScriptAggregation
-
-
Method Details
-
of
public static BucketScriptAggregation of(java.util.function.Function<BucketScriptAggregation.Builder,ObjectBuilder<BucketScriptAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
script
API name:script -
serializeInternal
- Overrides:
serializeInternalin classPipelineAggregationBase
-
setupBucketScriptAggregationDeserializer
protected static void setupBucketScriptAggregationDeserializer(ObjectDeserializer<BucketScriptAggregation.Builder> op)
-