Java org.springframework.data.mongodb.core.aggregation Aggregation fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.mongodb.core.aggregation Aggregation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.mongodb.core.aggregation Aggregation.

The text is from its open source code.

Method

GroupOperationgroup(String... fields)
Creates a new GroupOperation for the given fields.
GroupOperationgroup(Fields fields)
Creates a new GroupOperation for the given Fields .
LimitOperationlimit(long maxElements)
Creates a new LimitOperation limiting the result to the given number of elements.
MatchOperationmatch(Criteria criteria)
Creates a new MatchOperation using the given Criteria .
MatchOperationmatch(CriteriaDefinition criteria)
Creates a new MatchOperation using the given CriteriaDefinition .
TypedAggregationnewAggregation(Class type, List operations)
Creates a new TypedAggregation for the given type and AggregationOperation s.
TypedAggregationnewAggregation(Class type, AggregationOperation... operations)
Creates a new TypedAggregation for the given type and AggregationOperation s.
AggregationnewAggregation(List operations)
Creates a new Aggregation from the given AggregationOperation s.
AggregationnewAggregation(AggregationOperation... operations)
Creates a new Aggregation from the given AggregationOperation s.
AggregationOptions.BuildernewAggregationOptions()
Returns a new AggregationOptions.Builder .
ProjectionOperationproject(String... fields)
Creates a new ProjectionOperation including the given fields.
ProjectionOperationproject(Fields fields)
Creates a new ProjectionOperation including the given Fields .
ProjectionOperationproject(Class type)
Creates a new ProjectionOperation including all top level fields of the given given Class .
SortOperationsort(Direction direction, String... fields)
Factory method to create a new SortOperation for the given sort Direction  and fields .
UnwindOperationunwind(String field)
Factory method to create a new UnwindOperation for the field with the given name.