Class MatrixStatsAggregate
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregateBase
org.opensearch.client.opensearch._types.aggregations.MatrixStatsAggregate
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregateVariant,ToCopyableBuilder<MatrixStatsAggregate.Builder,MatrixStatsAggregate>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class MatrixStatsAggregate
extends AggregateBase
implements AggregateVariant, ToCopyableBuilder<MatrixStatsAggregate.Builder,MatrixStatsAggregate>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MatrixStatsAggregate> Json deserializer forMatrixStatsAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregatevariant kind.static MatrixStatsAggregate.Builderbuilder()final longdocCount()Required - API name:doc_countbooleanfinal List<MatrixStatsFields> fields()API name:fieldsinthashCode()static MatrixStatsAggregateprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregateVariant
toAggregateMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMatrixStatsAggregate
-
-
Method Details
-
of
public static MatrixStatsAggregate of(Function<MatrixStatsAggregate.Builder, ObjectBuilder<MatrixStatsAggregate>> fn) -
_aggregateKind
Aggregatevariant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
docCount
public final long docCount()Required - API name:doc_count -
fields
API name:fields -
serializeInternal
- Overrides:
serializeInternalin classAggregateBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MatrixStatsAggregate.Builder,MatrixStatsAggregate> - Returns:
- a new builder instance.
-
builder
-
setupMatrixStatsAggregateDeserializer
protected static void setupMatrixStatsAggregateDeserializer(ObjectDeserializer<MatrixStatsAggregate.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classAggregateBase
-
equals
- Overrides:
equalsin classAggregateBase
-