Class StringStatsAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.StringStatsAggregate
- All Implemented Interfaces:
AggregateVariant,JsonpSerializable
@JsonpDeserializable
public class StringStatsAggregate
extends AggregateBase
implements AggregateVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<StringStatsAggregate>Json deserializer forStringStatsAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.final DoubleAPI name:avg_lengthfinal StringAPI name:avg_length_as_stringfinal longcount()Required - API name:countAPI name:distributionfinal Doubleentropy()API name:entropyfinal IntegerAPI name:max_lengthfinal StringAPI name:max_length_as_stringfinal IntegerAPI name:min_lengthfinal StringAPI name:min_length_as_stringstatic StringStatsAggregaterebuild()protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forStringStatsAggregate
-
-
Method Details
-
of
public static StringStatsAggregate of(Function<StringStatsAggregate.Builder, ObjectBuilder<StringStatsAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
count
public final long count()Required - API name:count -
minLength
API name:min_length -
maxLength
API name:max_length -
avgLength
API name:avg_length -
entropy
API name:entropy -
distribution
API name:distribution -
minLengthAsString
API name:min_length_as_string -
maxLengthAsString
API name:max_length_as_string -
avgLengthAsString
API name:avg_length_as_string -
serializeInternal
- Overrides:
serializeInternalin classAggregateBase
-
rebuild
- Returns:
- New
StringStatsAggregate.Builderinitialized with field values of this instance
-
setupStringStatsAggregateDeserializer
protected static void setupStringStatsAggregateDeserializer(ObjectDeserializer<StringStatsAggregate.Builder> op)
-