Class MatrixAggregation.AbstractBuilder<BuilderT extends MatrixAggregation.AbstractBuilder<BuilderT>>

java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder<BuilderT>
Direct Known Subclasses:
MatrixStatsAggregation.Builder
Enclosing class:
MatrixAggregation

public abstract static class MatrixAggregation.AbstractBuilder<BuilderT extends MatrixAggregation.AbstractBuilder<BuilderT>> extends AggregationBase.AbstractBuilder<BuilderT>
  • Constructor Details

  • Method Details

    • fields

      @Nonnull public final BuilderT fields(List<String> list)
      API name: fields

      Adds all elements of list to fields.

    • fields

      @Nonnull public final BuilderT fields(String value, String... values)
      API name: fields

      Adds one or more values to fields.

    • missing

      @Nonnull public final BuilderT missing(Map<String,Double> map)
      The value to apply to documents that do not have a value. By default, documents without a value are ignored.

      API name: missing

      Adds all elements of map to missing.

    • missing

      @Nonnull public final BuilderT missing(String key, Double value)
      The value to apply to documents that do not have a value. By default, documents without a value are ignored.

      API name: missing

      Adds an entry to missing.