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.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
A response containing the requested records
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<GetRecordsResponse,
Void> static final org.elasticsearch.xcontent.ParseField
Fields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, results
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static GetRecordsResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) int
hashCode()
records()
The retrieved recordsMethods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContent
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
RECORDS
public static final org.elasticsearch.xcontent.ParseField RECORDS -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<GetRecordsResponse,Void> PARSER
-
-
Method Details
-
fromXContent
public static GetRecordsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
records
The retrieved records- Returns:
- the retrieved records
-
hashCode
public int hashCode() -
equals
-