Package org.elasticsearch.client.ml
Class GetDatafeedStatsResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<DatafeedStats>
-
- org.elasticsearch.client.ml.GetDatafeedStatsResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetDatafeedStatsResponse extends AbstractResultResponse<DatafeedStats>
Contains aListof the foundDatafeedStatsobjects and the total count found
-
-
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 ConstructingObjectParser<GetDatafeedStatsResponse,Void>PARSERstatic ParseFieldRESULTS_FIELD-
Fields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, results
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DatafeedStats>datafeedStats()The collection ofDatafeedStatsobjects found in the querybooleanequals(Object obj)static GetDatafeedStatsResponsefromXContent(XContentParser parser)inthashCode()StringtoString()-
Methods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
RESULTS_FIELD
public static final ParseField RESULTS_FIELD
-
PARSER
public static final ConstructingObjectParser<GetDatafeedStatsResponse,Void> PARSER
-
-
Method Detail
-
datafeedStats
public List<DatafeedStats> datafeedStats()
The collection ofDatafeedStatsobjects found in the query
-
fromXContent
public static GetDatafeedStatsResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-