Package org.elasticsearch.client.ml
Class PostDataResponse
java.lang.Object
org.elasticsearch.client.ml.PostDataResponse
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class PostDataResponse extends java.lang.Object implements ToXContentObject
Response object when posting data to a Machine Learning Job
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
-
Constructor Summary
Constructors Constructor Description PostDataResponse(DataCounts counts) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)static PostDataResponsefromXContent(XContentParser parser)DataCountsgetDataCounts()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Constructor Details
-
Method Details
-
fromXContent
- Throws:
java.io.IOException
-
getDataCounts
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-