Class AnomalyLocalizationOutput.Bucket
java.lang.Object
org.opensearch.ml.common.output.execute.anomalylocalization.AnomalyLocalizationOutput.Bucket
- 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 entities are bucketized by time.
-
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 booleanbooleangetBase()longdoublelonginthashCode()voidvoidsetCompleted(AtomicBoolean completed) voidsetCounter(Optional<Counter> counter) voidsetEndTime(long endTime) voidsetEntities(List<AnomalyLocalizationOutput.Entity> entities) voidsetOverallAggValue(double overallAggValue) voidsetStartTime(long startTime) 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_START_TIME
- See Also:
-
FIELD_END_TIME
- See Also:
-
FIELD_OVERALL_VALUE
- See Also:
-
FIELD_ENTITIES
- See Also:
-
-
Constructor Details
-
Bucket
- Throws:
IOException
-
Bucket
public Bucket()
-
-
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
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime() -
getOverallAggValue
public double getOverallAggValue() -
getEntities
-
getBase
-
getCounter
-
getCompleted
-
setStartTime
public void setStartTime(long startTime) -
setEndTime
public void setEndTime(long endTime) -
setOverallAggValue
public void setOverallAggValue(double overallAggValue) -
setEntities
-
setBase
-
setCounter
-
setCompleted
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-