Package org.elasticsearch.client.ml
Class GetBucketsResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<Bucket>
-
- org.elasticsearch.client.ml.GetBucketsResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetBucketsResponse extends AbstractResultResponse<Bucket>
A response containing the requested buckets
-
-
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 ParseFieldBUCKETSstatic ConstructingObjectParser<GetBucketsResponse,Void>PARSER-
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<Bucket>buckets()The retrieved bucketsbooleanequals(Object obj)static GetBucketsResponsefromXContent(XContentParser parser)inthashCode()-
Methods 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.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
BUCKETS
public static final ParseField BUCKETS
-
PARSER
public static final ConstructingObjectParser<GetBucketsResponse,Void> PARSER
-
-
Method Detail
-
fromXContent
public static GetBucketsResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-