Example usage for Java org.springframework.data.mongodb.core.aggregation Aggregation fields, constructors, methods, implement or subclass
The text is from its open source code.
GroupOperation | group(String... fields) Creates a new GroupOperation for the given fields. |
GroupOperation | group(Fields fields) Creates a new GroupOperation for the given Fields . |
LimitOperation | limit(long maxElements) Creates a new LimitOperation limiting the result to the given number of elements. |
MatchOperation | match(Criteria criteria) Creates a new MatchOperation using the given Criteria . |
MatchOperation | match(CriteriaDefinition criteria) Creates a new MatchOperation using the given CriteriaDefinition . |
TypedAggregation | newAggregation(Class Creates a new TypedAggregation for the given type and AggregationOperation s. |
TypedAggregation | newAggregation(Class Creates a new TypedAggregation for the given type and AggregationOperation s. |
Aggregation | newAggregation(List extends AggregationOperation> operations) Creates a new Aggregation from the given AggregationOperation s. |
Aggregation | newAggregation(AggregationOperation... operations) Creates a new Aggregation from the given AggregationOperation s. |
AggregationOptions.Builder | newAggregationOptions() Returns a new AggregationOptions.Builder . |
ProjectionOperation | project(String... fields) Creates a new ProjectionOperation including the given fields. |
ProjectionOperation | project(Fields fields) Creates a new ProjectionOperation including the given Fields . |
ProjectionOperation | project(Class> type) Creates a new ProjectionOperation including all top level fields of the given given Class . |
SortOperation | sort(Direction direction, String... fields) Factory method to create a new SortOperation for the given sort Direction  and fields . |
UnwindOperation | unwind(String field) Factory method to create a new UnwindOperation for the field with the given name. |