Class HistogramGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.client.transform.transforms.pivot.HistogramGroupSource
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
public class HistogramGroupSource
extends SingleGroupSource
implements org.elasticsearch.xcontent.ToXContentObject
A grouping via a histogram aggregation referencing a numeric field
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
SingleGroupSource.Type
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 TypeFieldDescriptionprotected static final org.elasticsearch.xcontent.ParseField
Fields inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
field, FIELD, MISSING_BUCKET, missingBucket, script, SCRIPT
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramGroupSource.Builder
builder()
boolean
static HistogramGroupSource
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) double
getType()
int
hashCode()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
getField, getMissingBucket, getScript, innerXContent
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
-
INTERVAL
protected static final org.elasticsearch.xcontent.ParseField INTERVAL
-
-
Method Details
-
fromXContent
-
getType
- Specified by:
getType
in classSingleGroupSource
-
getInterval
public double getInterval() -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
equals
- Overrides:
equals
in classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSingleGroupSource
-
builder
-