Class ValueCountAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.FormattableMetricAggregation
org.opensearch.client.opensearch._types.aggregations.ValueCountAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<ValueCountAggregation.Builder,ValueCountAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ValueCountAggregation
extends FormattableMetricAggregation
implements AggregationVariant, ToCopyableBuilder<ValueCountAggregation.Builder,ValueCountAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.FormattableMetricAggregation
FormattableMetricAggregation.AbstractBuilder<BuilderT extends FormattableMetricAggregation.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ValueCountAggregation> Json deserializer forValueCountAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.builder()booleaninthashCode()static ValueCountAggregationprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.FormattableMetricAggregation
format, serializeInternal, setupFormattableMetricAggregationDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializerMethods 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 forValueCountAggregation
-
-
Method Details
-
of
public static ValueCountAggregation of(Function<ValueCountAggregation.Builder, ObjectBuilder<ValueCountAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ValueCountAggregation.Builder,ValueCountAggregation> - Returns:
- a new builder instance.
-
builder
-
setupValueCountAggregationDeserializer
protected static void setupValueCountAggregationDeserializer(ObjectDeserializer<ValueCountAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classFormattableMetricAggregation
-
equals
- Overrides:
equalsin classFormattableMetricAggregation
-