Class BucketScriptAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.BucketScriptAggregation
-
- All Implemented Interfaces:
JsonpSerializable,AggregationVariant
@JsonpDeserializable public class BucketScriptAggregation extends PipelineAggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketScriptAggregation.BuilderBuilder forBucketScriptAggregation.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._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
All Methods Static Methods Instance Methods Concrete Methods 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 org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
bucketsPath, format, gapPolicy, setupPipelineAggregationBaseDeserializer
-
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<BucketScriptAggregation> _DESERIALIZER
Json deserializer forBucketScriptAggregation
-
-
Method Detail
-
of
public static BucketScriptAggregation of(java.util.function.Function<BucketScriptAggregation.Builder,ObjectBuilder<BucketScriptAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
script
@Nullable public final Script script()
API name:script
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classPipelineAggregationBase
-
setupBucketScriptAggregationDeserializer
protected static void setupBucketScriptAggregationDeserializer(ObjectDeserializer<BucketScriptAggregation.Builder> op)
-
-