Class DateHistogramGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.client.transform.transforms.pivot.DateHistogramGroupSource
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
public class DateHistogramGroupSource
extends SingleGroupSource
implements org.elasticsearch.xcontent.ToXContentObject
A grouping via a date histogram aggregation referencing a timefield
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static interface
Interval can be specified in 2 ways: fixed_interval fixed intervals like 1h, 1m, 1d calendar_interval calendar aware intervals like 1M, 1Y, ...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
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 TypeMethodDescriptionbuilder()
boolean
static DateHistogramGroupSource
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) getType()
int
hashCode()
toString()
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, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Method Details
-
fromXContent
public static DateHistogramGroupSource fromXContent(org.elasticsearch.xcontent.XContentParser parser) -
getType
- Specified by:
getType
in classSingleGroupSource
-
getInterval
-
getTimeZone
-
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
-
toString
-
builder
-