Package | Description |
---|---|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
Modifier and Type | Method and Description |
---|---|
AggregationGroupId |
AggregationGroupId.Builder.buildId()
Constructs a new
AggregationGroupId object from the state of
the builder. |
static AggregationGroupId |
AggregationGroupId.constantId(String value)
Constructs a
AggregationGroupId with a constant value. |
static AggregationGroupId |
AggregationGroupId.id(String fieldRef)
Constructs a
AggregationGroupId with a value from a single field
in the source documents. |
Modifier and Type | Method and Description |
---|---|
Aggregate.Builder |
Aggregate.Builder.group(AggregationGroupId id,
AggregationGroupField... aggregations)
Adds a $group operation to the pipeline to aggregate
documents passing this point in the pipeline into a group of
documents.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.