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 doubleRequired - API name:avg_lengthfinal StringAPI name:avg_length_as_stringfinal longcount()Required - API name:countAPI name:distributionfinal doubleentropy()Required - API name:entropyfinal intRequired - API name:max_lengthfinal StringAPI name:max_length_as_stringfinal intRequired - API name:min_lengthfinal StringAPI name:min_length_as_stringstatic StringStatsAggregateprotected 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
public final int minLength()Required - API name:min_lengthDefaults to
0if parsed from a JSONnullvalue. -
maxLength
public final int maxLength()Required - API name:max_lengthDefaults to
0if parsed from a JSONnullvalue. -
avgLength
public final double avgLength()Required - API name:avg_lengthDefaults to
0if parsed from a JSONnullvalue. -
entropy
public final double entropy()Required - API name:entropyDefaults to
0if parsed from a JSONnullvalue. -
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
-
setupStringStatsAggregateDeserializer
protected static void setupStringStatsAggregateDeserializer(ObjectDeserializer<StringStatsAggregate.Builder> op)
-