Module org.elasticsearch.xcore
Class GetDatafeedsStatsAction.Response.DatafeedStats
java.lang.Object
org.elasticsearch.xpack.core.ml.action.GetDatafeedsStatsAction.Response.DatafeedStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
GetDatafeedsStatsAction.Response
public static class GetDatafeedsStatsAction.Response.DatafeedStats
extends Object
implements ToXContentObject, Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionDatafeedStats(String datafeedId, DatafeedState datafeedState, DiscoveryNode node, String assignmentExplanation, DatafeedTimingStats timingStats, GetDatafeedRunningStateAction.Response.RunningState runningState) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.elasticsearch.xpack.core.ml.action.GetDatafeedsStatsAction.Response.DatafeedStats.BuilderbooleangetNode()inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
DatafeedStats
public DatafeedStats(String datafeedId, DatafeedState datafeedState, @Nullable DiscoveryNode node, @Nullable String assignmentExplanation, @Nullable DatafeedTimingStats timingStats, @Nullable GetDatafeedRunningStateAction.Response.RunningState runningState)
-
-
Method Details
-
getDatafeedId
-
getDatafeedState
-
getNode
-
getAssignmentExplanation
-
getTimingStats
-
getRunningState
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
builder
public static org.elasticsearch.xpack.core.ml.action.GetDatafeedsStatsAction.Response.DatafeedStats.Builder builder(String datafeedId)
-