Class GlobalAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase
org.opensearch.client.opensearch._types.aggregations.GlobalAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<GlobalAggregate.Builder,GlobalAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GlobalAggregate
extends SingleBucketAggregateBase
implements AggregateVariant, ToCopyableBuilder<GlobalAggregate.Builder,GlobalAggregate>
-
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<GlobalAggregate> Json deserializer forGlobalAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.static GlobalAggregate.Builderbuilder()booleaninthashCode()static GlobalAggregateprotected 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 forGlobalAggregate
-
-
Method Details
-
of
public static GlobalAggregate of(Function<GlobalAggregate.Builder, ObjectBuilder<GlobalAggregate>> 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<GlobalAggregate.Builder,GlobalAggregate> - Returns:
- a new builder instance.
-
builder
-
setupGlobalAggregateDeserializer
protected static void setupGlobalAggregateDeserializer(ObjectDeserializer<GlobalAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classSingleBucketAggregateBase
-
equals
- Overrides:
equalsin classSingleBucketAggregateBase
-