Search in sources :

Example 1 with CumulativeSumPipelineAggregationBuilder

use of org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregationBuilder in project OpenSearch by opensearch-project.

the class AggregatorFactoriesBuilderTests method getRandomPipelineAggregation.

private static PipelineAggregationBuilder getRandomPipelineAggregation() {
    // just 1 type of pipeline agg, sufficient for the purpose of this test
    String name = randomAlphaOfLengthBetween(3, 20);
    String bucketsPath = randomAlphaOfLengthBetween(3, 20);
    PipelineAggregationBuilder builder = new CumulativeSumPipelineAggregationBuilder(name, bucketsPath);
    return builder;
}
Also used : CumulativeSumPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregationBuilder) CumulativeSumPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregationBuilder)

Aggregations

CumulativeSumPipelineAggregationBuilder (org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregationBuilder)1