Package org.elasticsearch.client.ml
Class GetDatafeedResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<DatafeedConfig>
-
- org.elasticsearch.client.ml.GetDatafeedResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetDatafeedResponse extends AbstractResultResponse<DatafeedConfig>
Contains aListof the foundDatafeedConfigobjects 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<GetDatafeedResponse,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<DatafeedConfig>datafeeds()The collection ofDatafeedConfigobjects found in the querybooleanequals(Object obj)static GetDatafeedResponsefromXContent(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<GetDatafeedResponse,Void> PARSER
-
-
Method Detail
-
datafeeds
public List<DatafeedConfig> datafeeds()
The collection ofDatafeedConfigobjects found in the query
-
fromXContent
public static GetDatafeedResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-