Class TTestAggregate
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase
-
- org.opensearch.client.opensearch._types.aggregations.TTestAggregate
-
- All Implemented Interfaces:
JsonpSerializable,AggregateVariant
@JsonpDeserializable public class TTestAggregate extends AggregateBase implements AggregateVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTestAggregate.BuilderBuilder forTTestAggregate.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TTestAggregate>_DESERIALIZERJson deserializer forTTestAggregate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static TTestAggregateof(java.util.function.Function<TTestAggregate.Builder,ObjectBuilder<TTestAggregate>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTTestAggregateDeserializer(ObjectDeserializer<TTestAggregate.Builder> op)doublevalue()Required - API name:valuejava.lang.StringvalueAsString()API name:value_as_string-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregateVariant
_toAggregate
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<TTestAggregate> _DESERIALIZER
Json deserializer forTTestAggregate
-
-
Method Detail
-
of
public static TTestAggregate of(java.util.function.Function<TTestAggregate.Builder,ObjectBuilder<TTestAggregate>> fn)
-
_aggregateKind
public Aggregate.Kind _aggregateKind()
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
value
public final double value()
Required - API name:valueDefaults to
0if parsed from a JSONnullvalue.
-
valueAsString
@Nullable public final java.lang.String valueAsString()
API name:value_as_string
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregateBase
-
setupTTestAggregateDeserializer
protected static void setupTTestAggregateDeserializer(ObjectDeserializer<TTestAggregate.Builder> op)
-
-