Packages

trait Accumulator extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Accumulator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addToSet[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing all unique values that results from applying the given expression to each document in a group of documents that share the same group by key.

    Gets a field name for a $group operation representing all unique values that results from applying the given expression to each document in a group of documents that share the same group by key.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/addToSet/

  2. abstract def avg[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the average of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the average of the values of the given expression when applied to all members of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/avg/

  3. abstract def combinedWith(anotherAccumulator: Accumulator): Accumulator

    Merges 2 field accumulators together.

    Merges 2 field accumulators together.

    anotherAccumulator

    the accumulator to be merged with

    returns

    the accumulator

  4. abstract def first[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the value of the given expression when applied to the first member of the group.

    Gets a field name for a $group operation representing the value of the given expression when applied to the first member of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/first/

  5. abstract def last[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the value of the given expression when applied to the last member of the group.

    Gets a field name for a $group operation representing the value of the given expression when applied to the last member of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/last/

  6. abstract def max[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the maximum of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the maximum of the values of the given expression when applied to all members of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/max/

  7. abstract def min[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the minimum of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the minimum of the values of the given expression when applied to all members of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/min/

  8. abstract def push[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing an array of all values that results from applying an expression to each document in a group of documents that share the same group by key.

    Gets a field name for a $group operation representing an array of all values that results from applying an expression to each document in a group of documents that share the same group by key.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/push/

  9. abstract def stdDevPop[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.

    Use if the values encompass the entire population of data you want to represent and do not wish to generalize about a larger population.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/stdDevPop/

    Since

    3.2

  10. abstract def stdDevSamp[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.

    Use if the values encompass a sample of a population of data from which to generalize about the population.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/stdDevSamp/

  11. abstract def sum[T](fieldName: String, expression: T): Accumulator

    Gets a field name for a $group operation representing the sum of the values of the given expression when applied to all members of the group.

    Gets a field name for a $group operation representing the sum of the values of the given expression when applied to all members of the group.

    fieldName

    the field name

    expression

    the expression https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#std-label-aggregation-expressions

    returns

    the accumulator https://docs.mongodb.com/manual/reference/operator/aggregation/sum/

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped