Package org.elasticsearch.client.ml
Class GetJobResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<Job>
-
- org.elasticsearch.client.ml.GetJobResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetJobResponse extends AbstractResultResponse<Job>
-
-
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<GetJobResponse,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 booleanequals(Object obj)static GetJobResponsefromXContent(XContentParser parser)inthashCode()List<Job>jobs()The collection ofJobobjects found in the queryStringtoString()-
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<GetJobResponse,Void> PARSER
-
-
Method Detail
-
fromXContent
public static GetJobResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-