Class DatafeedStats
- java.lang.Object
-
- org.elasticsearch.client.ml.datafeed.DatafeedStats
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class DatafeedStats extends java.lang.Object implements ToXContentObject
Datafeed Statistics POJO
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
ASSIGNMENT_EXPLANATION
static ParseField
NODE
static ConstructingObjectParser<DatafeedStats,java.lang.Void>
PARSER
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description DatafeedStats(java.lang.String datafeedId, DatafeedState datafeedState, NodeAttributes node, java.lang.String assignmentExplanation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAssignmentExplanation()
java.lang.String
getDatafeedId()
DatafeedState
getDatafeedState()
NodeAttributes
getNode()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
ASSIGNMENT_EXPLANATION
public static final ParseField ASSIGNMENT_EXPLANATION
-
NODE
public static final ParseField NODE
-
PARSER
public static final ConstructingObjectParser<DatafeedStats,java.lang.Void> PARSER
-
-
Constructor Detail
-
DatafeedStats
public DatafeedStats(java.lang.String datafeedId, DatafeedState datafeedState, @Nullable NodeAttributes node, @Nullable java.lang.String assignmentExplanation)
-
-
Method Detail
-
getDatafeedId
public java.lang.String getDatafeedId()
-
getDatafeedState
public DatafeedState getDatafeedState()
-
getNode
public NodeAttributes getNode()
-
getAssignmentExplanation
public java.lang.String getAssignmentExplanation()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-