Packages

object Accumulator extends Accumulator

Linear Supertypes
Accumulator, AsJava, AsJavaConverters, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Accumulator
  2. Accumulator
  3. AsJava
  4. AsJavaConverters
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. 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/

    Definition Classes
    Accumulator
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asJava[K, V](m: Map[K, V]): ConcurrentMap[K, V]
    Definition Classes
    AsJavaConverters
  7. def asJava[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    AsJavaConverters
  8. def asJava[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    AsJavaConverters
  9. def asJava[A](s: Set[A]): Set[A]
    Definition Classes
    AsJavaConverters
  10. def asJava[A](s: Set[A]): Set[A]
    Definition Classes
    AsJavaConverters
  11. def asJava[A](s: Seq[A]): List[A]
    Definition Classes
    AsJavaConverters
  12. def asJava[A](s: Seq[A]): List[A]
    Definition Classes
    AsJavaConverters
  13. def asJava[A](b: Buffer[A]): List[A]
    Definition Classes
    AsJavaConverters
  14. def asJava[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    AsJavaConverters
  15. def asJava[A](i: Iterator[A]): Iterator[A]
    Definition Classes
    AsJavaConverters
  16. def asJavaCollection[A](i: Iterable[A]): Collection[A]
    Definition Classes
    AsJavaConverters
  17. def asJavaDictionary[K, V](m: Map[K, V]): Dictionary[K, V]
    Definition Classes
    AsJavaConverters
  18. def asJavaEnumeration[A](i: Iterator[A]): Enumeration[A]
    Definition Classes
    AsJavaConverters
  19. 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/

    Definition Classes
    Accumulator
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  21. 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

    Definition Classes
    Accumulator
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(other: Any): Boolean
    Definition Classes
    Accumulator → AnyRef → Any
  24. 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/

    Definition Classes
    Accumulator
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. def hashCode(): Int
    Definition Classes
    Accumulator → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. 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/

    Definition Classes
    Accumulator
  29. 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/

    Definition Classes
    Accumulator
  30. 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/

    Definition Classes
    Accumulator
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  34. 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/

    Definition Classes
    Accumulator
  35. 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/

    Definition Classes
    Accumulator
    Since

    3.2

  36. 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/

    Definition Classes
    Accumulator
  37. 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/

    Definition Classes
    Accumulator
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    Accumulator → AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. 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 Accumulator

Inherited from AsJava

Inherited from AsJavaConverters

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped