Class HistogramGroupSource

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

public class HistogramGroupSource
extends SingleGroupSource
implements org.elasticsearch.common.xcontent.ToXContentObject
A grouping via a histogram aggregation referencing a numeric field
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  HistogramGroupSource.Builder  

    Nested classes/interfaces inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource

    SingleGroupSource.Type

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected static org.elasticsearch.common.ParseField INTERVAL  

    Fields inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource

    field, FIELD, MISSING_BUCKET, missingBucket, script, SCRIPT

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    static HistogramGroupSource.Builder builder()  
    boolean equals​(java.lang.Object other)  
    static HistogramGroupSource fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    double getInterval()  
    SingleGroupSource.Type getType()  
    int hashCode()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.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.common.xcontent.ToXContentObject

    isFragment
  • Field Details

    • INTERVAL

      protected static final org.elasticsearch.common.ParseField INTERVAL
  • Method Details

    • fromXContent

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

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

      public double getInterval()
    • 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
    • builder

      public static HistogramGroupSource.Builder builder()