Class GroupConfig.Builder

java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.GroupConfig.Builder
Enclosing class:
GroupConfig

public static class GroupConfig.Builder
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    GroupConfig build()  
    GroupConfig.Builder groupBy​(java.lang.String name, SingleGroupSource group)
    Add a new grouping to the builder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • groupBy

      public GroupConfig.Builder groupBy​(java.lang.String name, SingleGroupSource group)
      Add a new grouping to the builder
      Parameters:
      name - The name of the resulting grouped field
      group - The type of grouping referenced
      Returns:
      The GroupConfig.Builder with a new grouping entry added
    • build

      public GroupConfig build()