BucketAuto

reactivemongo.api.commands.AggregationFramework.BucketAuto$
See theBucketAuto companion class
object BucketAuto

$bucket aggregation stage .

Attributes

Since:

MongoDB 3.4 Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression. Bucket boundaries are automatically determined in an attempt to evenly distribute the documents into the specified number of buckets. Document fields identifier must be prefixed with $.

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(groupBy: Value, buckets: Int, granularity: Option[String])(output: (String, GroupFunction)*): BucketAuto