Class NestedAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase
org.opensearch.client.opensearch._types.aggregations.NestedAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<NestedAggregate.Builder,NestedAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NestedAggregate
extends SingleBucketAggregateBase
implements AggregateVariant, ToCopyableBuilder<NestedAggregate.Builder,NestedAggregate>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase
SingleBucketAggregateBase.AbstractBuilder<BuilderT extends SingleBucketAggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NestedAggregate> Json deserializer forNestedAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.static NestedAggregate.Builderbuilder()booleaninthashCode()static NestedAggregateprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase
aggregations, docCount, serializeInternal, setupSingleBucketAggregateBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregateVariant
toAggregateMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forNestedAggregate
-
-
Method Details
-
of
public static NestedAggregate of(Function<NestedAggregate.Builder, ObjectBuilder<NestedAggregate>> fn) -
_aggregateKind
Aggregatevariant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NestedAggregate.Builder,NestedAggregate> - Returns:
- a new builder instance.
-
builder
-
setupNestedAggregateDeserializer
protected static void setupNestedAggregateDeserializer(ObjectDeserializer<NestedAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classSingleBucketAggregateBase
-
equals
- Overrides:
equalsin classSingleBucketAggregateBase
-