Class BucketScriptAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketPathAggregation
org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketScriptAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<BucketScriptAggregation.Builder,BucketScriptAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class BucketScriptAggregation
extends PipelineAggregationBase
implements AggregationVariant, ToCopyableBuilder<BucketScriptAggregation.Builder,BucketScriptAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
PipelineAggregationBase.AbstractBuilder<BuilderT extends PipelineAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BucketScriptAggregation> Json deserializer forBucketScriptAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.builder()booleaninthashCode()static BucketScriptAggregationfinal Scriptscript()API name:scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
format, gapPolicy, setupPipelineAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketPathAggregation
bucketsPath, setupBucketPathAggregationDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forBucketScriptAggregation
-
-
Method Details
-
of
public static BucketScriptAggregation of(Function<BucketScriptAggregation.Builder, ObjectBuilder<BucketScriptAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
script
API name:script -
serializeInternal
- Overrides:
serializeInternalin classPipelineAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BucketScriptAggregation.Builder,BucketScriptAggregation> - Returns:
- a new builder instance.
-
builder
-
setupBucketScriptAggregationDeserializer
protected static void setupBucketScriptAggregationDeserializer(ObjectDeserializer<BucketScriptAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classPipelineAggregationBase
-
equals
- Overrides:
equalsin classPipelineAggregationBase
-