Class SingleGroupSource

java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Direct Known Subclasses:
DateHistogramGroupSource, GeoTileGroupSource, HistogramGroupSource, TermsGroupSource

public abstract class SingleGroupSource extends Object implements org.elasticsearch.xcontent.ToXContentObject
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     

    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
    Modifier and Type
    Field
    Description
    protected final String
     
    protected static final org.elasticsearch.xcontent.ParseField
     
    protected static final org.elasticsearch.xcontent.ParseField
     
    protected final boolean
     
    protected final org.elasticsearch.script.Script
     
    protected static final org.elasticsearch.xcontent.ParseField
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    SingleGroupSource(String field, org.elasticsearch.script.Script script, boolean missingBucket)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
     
    boolean
     
    org.elasticsearch.script.Script
     
     
    int
     
    protected void
    innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContent

    toXContent

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

    • FIELD

      protected static final org.elasticsearch.xcontent.ParseField FIELD
    • SCRIPT

      protected static final org.elasticsearch.xcontent.ParseField SCRIPT
    • MISSING_BUCKET

      protected static final org.elasticsearch.xcontent.ParseField MISSING_BUCKET
    • field

      protected final String field
    • script

      protected final org.elasticsearch.script.Script script
    • missingBucket

      protected final boolean missingBucket
  • Constructor Details

    • SingleGroupSource

      public SingleGroupSource(String field, org.elasticsearch.script.Script script, boolean missingBucket)
  • Method Details

    • getType

      public abstract SingleGroupSource.Type getType()
    • getField

      public String getField()
    • getScript

      public org.elasticsearch.script.Script getScript()
    • getMissingBucket

      public boolean getMissingBucket()
    • innerXContent

      protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object