org.springframework.data.mongodb.core.aggregation

Interface ArrayOperators.Reduce.InitialValueBuilder

  • Enclosing class:
    ArrayOperators.Reduce


    public static interface ArrayOperators.Reduce.InitialValueBuilder
    Author:
    Christoph Strobl
    • Method Detail

      • withInitialValue

        ArrayOperators.Reduce.ReduceBuilder withInitialValue(Object initialValue)
        Define the initial cumulative value set before in is applied to the first element of the input array.
        Parameters:
        initialValue - must not be null.
        Returns: