Class MCorrModelTensor
java.lang.Object
org.opensearch.ml.common.output.execute.metrics_correlation.MCorrModelTensor
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject
public class MCorrModelTensor
extends Object
implements org.opensearch.core.common.io.stream.Writeable, org.opensearch.core.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesNested 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
FieldsFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionMCorrModelTensor(float[] event_window, float[] event_pattern, long[] suspected_metrics) MCorrModelTensor(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanfloat[]float[]long[]inthashCode()voidsetEvent_pattern(float[] event_pattern) voidsetEvent_window(float[] event_window) voidsetSuspected_metrics(long[] suspected_metrics) 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
-
EVENT_WINDOW
- See Also:
-
EVENT_PATTERN
- See Also:
-
SUSPECTED_METRICS
- See Also:
-
-
Constructor Details
-
MCorrModelTensor
public MCorrModelTensor(float[] event_window, float[] event_pattern, long[] suspected_metrics) -
MCorrModelTensor
- Throws:
IOException
-
-
Method Details
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.opensearch.core.xcontent.ToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
builder
-
getEvent_window
public float[] getEvent_window() -
getEvent_pattern
public float[] getEvent_pattern() -
getSuspected_metrics
public long[] getSuspected_metrics() -
setEvent_window
public void setEvent_window(float[] event_window) -
setEvent_pattern
public void setEvent_pattern(float[] event_pattern) -
setSuspected_metrics
public void setSuspected_metrics(long[] suspected_metrics) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-