Trait

reactivemongo.api.commands

GroupAggregation

Related Doc: package commands

Permalink

sealed trait GroupAggregation[P <: SerializationPack] extends AnyRef

Self Type
AggregationFramework[P]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GroupAggregation
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AddFieldToSet(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  2. case class AddFields(specifications: P.Document) extends PipelineOperator with Product with Serializable

    Permalink

    Since MongoDB 3.4

    Since MongoDB 3.4

    specifications

    The fields to include. The resulting objects will also contain these fields.

    See also

    https://docs.mongodb.com/manual/reference/operator/aggregation/addFields/

  3. case class AddToSet(addToSetExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    addToSetExpr

    the $addToSet expression

  4. case class Avg(avgExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  5. case class AvgField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  6. case class First(firstExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  7. case class FirstField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  8. sealed trait GroupFunction extends AnyRef

    Permalink

    Represents one of the group/accumulator operators, for the $group aggregation.

    Represents one of the group/accumulator operators, for the $group aggregation. Operation.

    See also

    https://docs.mongodb.com/manual/reference/operator/aggregation/group/#accumulator-operator

  9. case class Last(lastExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  10. case class LastField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  11. case class Max(maxExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    maxExpr

    the $max expression

  12. case class MaxField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  13. case class Min(minExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    minExpr

    the $min expression

  14. case class MinField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  15. case class Push(pushExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    pushExpr

    the $push expression

  16. case class PushField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  17. case class StdDevPop(expression: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    The $stdDevPop group accumulator (since MongoDB 3.2)

  18. case class StdDevPopField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    The $stdDevPop for a single field (since MongoDB 3.2)

  19. case class StdDevSamp(expression: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    The $stdDevSamp group accumulator (since MongoDB 3.2)

  20. case class StdDevSampField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    The $stdDevSamp for a single field (since MongoDB 3.2)

  21. case class Sum(sumExpr: P.Value) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    sumExpr

    the $sum expression

  22. case class SumField(field: String) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
  23. case class SumValue(value: Int) extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use SumAll

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to any2stringadd[GroupAggregation[P]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (GroupAggregation[P], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to ArrowAssoc[GroupAggregation[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. object GroupFunction

    Permalink

    Factory to declare custom call to a group function.

  7. object SumAll extends AggregationFramework.GroupFunction with Product with Serializable

    Permalink

    Sum operation of the form $sum: 1

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (GroupAggregation[P]) ⇒ Boolean, msg: ⇒ Any): GroupAggregation[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to Ensuring[GroupAggregation[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (GroupAggregation[P]) ⇒ Boolean): GroupAggregation[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to Ensuring[GroupAggregation[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): GroupAggregation[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to Ensuring[GroupAggregation[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): GroupAggregation[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to Ensuring[GroupAggregation[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to StringFormat[GroupAggregation[P]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (GroupAggregation[P], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GroupAggregation[P] to ArrowAssoc[GroupAggregation[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from GroupAggregation[P] to any2stringadd[GroupAggregation[P]]

Inherited by implicit conversion StringFormat from GroupAggregation[P] to StringFormat[GroupAggregation[P]]

Inherited by implicit conversion Ensuring from GroupAggregation[P] to Ensuring[GroupAggregation[P]]

Inherited by implicit conversion ArrowAssoc from GroupAggregation[P] to ArrowAssoc[GroupAggregation[P]]

Ungrouped