Object

org.mongodb.scala.model

Accumulators

Related Doc: package model

Permalink

object Accumulators

Builders for accumulators used in the group pipeline stage of an aggregation pipeline.

Since

1.0

See also

Expressions

Accumulators

Aggregation pipeline

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Accumulators
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addToSet[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $addToSet

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def avg[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $avg

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def first[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $first

  12. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  15. def last[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $last

  16. def max[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $max

  17. def min[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $min

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def push[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $push

  22. def sum[TExpression](fieldName: String, expression: TExpression): BsonField

    Permalink

    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.

    TExpression

    the expression type

    fieldName

    the field name

    expression

    the expression

    returns

    the field

    See also

    $sum

  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped