Class BucketSelectorAggregation
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.BucketSelectorAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<BucketSelectorAggregation.Builder,BucketSelectorAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class BucketSelectorAggregation
extends PipelineAggregationBase
implements AggregationVariant, ToCopyableBuilder<BucketSelectorAggregation.Builder,BucketSelectorAggregation>
-
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<BucketSelectorAggregation> Json deserializer forBucketSelectorAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.builder()booleaninthashCode()static BucketSelectorAggregationfinal Scriptscript()API name:scriptprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupBucketSelectorAggregationDeserializer(ObjectDeserializer<BucketSelectorAggregation.Builder> op) Create 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 forBucketSelectorAggregation
-
-
Method Details
-
of
public static BucketSelectorAggregation of(Function<BucketSelectorAggregation.Builder, ObjectBuilder<BucketSelectorAggregation>> 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<BucketSelectorAggregation.Builder,BucketSelectorAggregation> - Returns:
- a new builder instance.
-
builder
-
setupBucketSelectorAggregationDeserializer
protected static void setupBucketSelectorAggregationDeserializer(ObjectDeserializer<BucketSelectorAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classPipelineAggregationBase
-
equals
- Overrides:
equalsin classPipelineAggregationBase
-