Class MatrixStatsAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.MatrixStatsAggregate
- All Implemented Interfaces:
AggregateVariant
,JsonpSerializable
@JsonpDeserializable public class MatrixStatsAggregate extends AggregateBase implements AggregateVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatrixStatsAggregate.Builder
Builder forMatrixStatsAggregate
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MatrixStatsAggregate>
_DESERIALIZER
Json deserializer forMatrixStatsAggregate
-
Method Summary
Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.long
docCount()
Required - API name:doc_count
java.util.List<MatrixStatsFields>
fields()
Required - API name:fields
static MatrixStatsAggregate
of(java.util.function.Function<MatrixStatsAggregate.Builder,ObjectBuilder<MatrixStatsAggregate>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMatrixStatsAggregateDeserializer(ObjectDeserializer<MatrixStatsAggregate.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._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 co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forMatrixStatsAggregate
-
-
Method Details
-
of
public static MatrixStatsAggregate of(java.util.function.Function<MatrixStatsAggregate.Builder,ObjectBuilder<MatrixStatsAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
-
docCount
public final long docCount()Required - API name:doc_count
-
fields
Required - API name:fields
-
serializeInternal
- Overrides:
serializeInternal
in classAggregateBase
-
setupMatrixStatsAggregateDeserializer
protected static void setupMatrixStatsAggregateDeserializer(ObjectDeserializer<MatrixStatsAggregate.Builder> op)
-