Class DateHistogramGroupSource

java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.client.transform.transforms.pivot.DateHistogramGroupSource
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class DateHistogramGroupSource
extends SingleGroupSource
implements org.elasticsearch.common.xcontent.ToXContentObject
A grouping via a date histogram aggregation referencing a timefield
  • Method Details

    • fromXContent

      public static DateHistogramGroupSource fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)
    • getType

      public SingleGroupSource.Type getType()
      Specified by:
      getType in class SingleGroupSource
    • getInterval

      public DateHistogramGroupSource.Interval getInterval()
    • getTimeZone

      public java.time.ZoneId getTimeZone()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object other)
      Overrides:
      equals in class SingleGroupSource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SingleGroupSource
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • builder

      public static DateHistogramGroupSource.Builder builder()