Class PivotConfig.Builder

  • Enclosing class:
    PivotConfig

    public static class PivotConfig.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setGroups

        public PivotConfig.Builder setGroups​(GroupConfig groups)
        Set how to group the source data
        Parameters:
        groups - The configuration describing how to group and pivot the source data
        Returns:
        the PivotConfig.Builder with the interval set.
      • setAggregationConfig

        public PivotConfig.Builder setAggregationConfig​(AggregationConfig aggregationConfig)
        Set the aggregated fields to include in the pivot config
        Parameters:
        aggregationConfig - The configuration describing the aggregated fields
        Returns:
        the PivotConfig.Builder with the aggregations set.
      • setMaxPageSearchSize

        public PivotConfig.Builder setMaxPageSearchSize​(java.lang.Integer maxPageSearchSize)
        Sets the paging maximum paging maxPageSearchSize that date frame transform can use when pulling the data from the source index. If OOM is triggered, the paging maxPageSearchSize is dynamically reduced so that the transform can continue to gather data.
        Parameters:
        maxPageSearchSize - Integer value between 10 and 10_000
        Returns:
        the PivotConfig.Builder with the paging maxPageSearchSize set.