Class SimpleValueAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
org.opensearch.client.opensearch._types.aggregations.SimpleValueAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<SimpleValueAggregate.Builder,SimpleValueAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SimpleValueAggregate
extends SingleMetricAggregateBase
implements AggregateVariant, ToCopyableBuilder<SimpleValueAggregate.Builder,SimpleValueAggregate>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
SingleMetricAggregateBase.AbstractBuilder<BuilderT extends SingleMetricAggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SimpleValueAggregate> Json deserializer forSimpleValueAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.static SimpleValueAggregate.Builderbuilder()booleaninthashCode()static SimpleValueAggregateprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase
serializeInternal, setupSingleMetricAggregateBaseDeserializer, value, valueAsStringMethods 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 forSimpleValueAggregate
-
-
Method Details
-
of
public static SimpleValueAggregate of(Function<SimpleValueAggregate.Builder, ObjectBuilder<SimpleValueAggregate>> 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<SimpleValueAggregate.Builder,SimpleValueAggregate> - Returns:
- a new builder instance.
-
builder
-
setupSimpleValueAggregateDeserializer
protected static void setupSimpleValueAggregateDeserializer(ObjectDeserializer<SimpleValueAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classSingleMetricAggregateBase
-
equals
- Overrides:
equalsin classSingleMetricAggregateBase
-