Class MatrixStatsFields
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MatrixStatsFields
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class MatrixStatsFields extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatrixStatsFields.Builder
Builder forMatrixStatsFields
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MatrixStatsFields>
_DESERIALIZER
Json deserializer forMatrixStatsFields
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Double>
correlation()
Required - API name:correlation
long
count()
Required - API name:count
java.util.Map<java.lang.String,java.lang.Double>
covariance()
Required - API name:covariance
double
kurtosis()
Required - API name:kurtosis
double
mean()
Required - API name:mean
java.lang.String
name()
Required - API name:name
static MatrixStatsFields
of(java.util.function.Function<MatrixStatsFields.Builder,ObjectBuilder<MatrixStatsFields>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMatrixStatsFieldsDeserializer(ObjectDeserializer<MatrixStatsFields.Builder> op)
double
skewness()
Required - API name:skewness
double
variance()
Required - API name:variance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<MatrixStatsFields> _DESERIALIZER
Json deserializer forMatrixStatsFields
-
-
Method Detail
-
of
public static MatrixStatsFields of(java.util.function.Function<MatrixStatsFields.Builder,ObjectBuilder<MatrixStatsFields>> fn)
-
name
public final java.lang.String name()
Required - API name:name
-
count
public final long count()
Required - API name:count
-
mean
public final double mean()
Required - API name:mean
-
variance
public final double variance()
Required - API name:variance
-
skewness
public final double skewness()
Required - API name:skewness
-
kurtosis
public final double kurtosis()
Required - API name:kurtosis
-
covariance
public final java.util.Map<java.lang.String,java.lang.Double> covariance()
Required - API name:covariance
-
correlation
public final java.util.Map<java.lang.String,java.lang.Double> correlation()
Required - API name:correlation
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupMatrixStatsFieldsDeserializer
protected static void setupMatrixStatsFieldsDeserializer(ObjectDeserializer<MatrixStatsFields.Builder> op)
-
-