Package org.elasticsearch.client.ml
Class GetRecordsResponse
java.lang.Object
org.elasticsearch.client.ml.AbstractResultResponse<AnomalyRecord>
org.elasticsearch.client.ml.GetRecordsResponse
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
A response containing the requested records
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ConstructingObjectParser<GetRecordsResponse,Void>static org.elasticsearch.common.xcontent.ParseFieldFields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, resultsFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GetRecordsResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)inthashCode()records()The retrieved recordsMethods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
RECORDS
public static final org.elasticsearch.common.xcontent.ParseField RECORDS -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<GetRecordsResponse,Void> PARSER
-
-
Method Details
-
fromXContent
public static GetRecordsResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-
records
The retrieved records- Returns:
- the retrieved records
-
hashCode
public int hashCode() -
equals
-