Class AnomalyLocalizationOutput.Entity
java.lang.Object
org.opensearch.ml.common.output.execute.anomalylocalization.AnomalyLocalizationOutput.Entity
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,Output
- Enclosing class:
AnomalyLocalizationOutput
Localized entity.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleandoubledoublegetKey()doubleinthashCode()voidsetBaseValue(double baseValue) voidsetContributionValue(double contributionValue) voidvoidsetNewValue(double newValue) toString()org.opensearch.core.xcontent.XContentBuildertoXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
FIELD_KEY
- See Also:
-
FIELD_CONTRIBUTION_VALUE
- See Also:
-
FIELD_BASE_VALUE
- See Also:
-
FIELD_NEW_VALUE
- See Also:
-
-
Constructor Details
-
Entity
- Throws:
IOException
-
Entity
public Entity()
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) - Specified by:
toXContentin interfaceorg.opensearch.core.xcontent.ToXContent
-
getKey
-
getContributionValue
public double getContributionValue() -
getBaseValue
public double getBaseValue() -
getNewValue
public double getNewValue() -
setKey
-
setContributionValue
public void setContributionValue(double contributionValue) -
setBaseValue
public void setBaseValue(double baseValue) -
setNewValue
public void setNewValue(double newValue) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-