Package org.elasticsearch.client.ml
Class GetBucketsResponse
java.lang.Object
org.elasticsearch.client.ml.AbstractResultResponse<Bucket>
org.elasticsearch.client.ml.GetBucketsResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
A response containing the requested buckets
-
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
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<GetBucketsResponse,Void> Fields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, resultsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbuckets()The retrieved bucketsbooleanstatic GetBucketsResponsefromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()Methods 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.xcontent.ToXContentObject
isFragment
-
Field Details
-
BUCKETS
public static final org.elasticsearch.xcontent.ParseField BUCKETS -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<GetBucketsResponse,Void> PARSER
-
-
Method Details
-
fromXContent
public static GetBucketsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
buckets
The retrieved buckets- Returns:
- the retrieved buckets
-
hashCode
public int hashCode() -
equals
-