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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<StringStatsAggregate>
Json deserializer forStringStatsAggregate
-
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.final double
Required - API name:avg_length
final String
API name:avg_length_as_string
final long
count()
Required - API name:count
API name:distribution
final double
entropy()
Required - API name:entropy
final int
Required - API name:max_length
final String
API name:max_length_as_string
final int
Required - API name:min_length
final String
API name:min_length_as_string
static StringStatsAggregate
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_aggregateKind
in interfaceAggregateVariant
-
count
public final long count()Required - API name:count
-
minLength
public final int minLength()Required - API name:min_length
Defaults to
0
if parsed from a JSONnull
value. -
maxLength
public final int maxLength()Required - API name:max_length
Defaults to
0
if parsed from a JSONnull
value. -
avgLength
public final double avgLength()Required - API name:avg_length
Defaults to
0
if parsed from a JSONnull
value. -
entropy
public final double entropy()Required - API name:entropy
Defaults to
0
if parsed from a JSONnull
value. -
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:
serializeInternal
in classAggregateBase
-
setupStringStatsAggregateDeserializer
protected static void setupStringStatsAggregateDeserializer(ObjectDeserializer<StringStatsAggregate.Builder> op)
-