public interface ReactiveAggregationOperation
ReactiveAggregationOperation allows creation and execution of reactive MongoDB aggregation operations in a
fluent API style. Aggregation provided via by into the
MongoDB specific representation, as well as mapping back the resulting Document. An alternative
input type for mapping the Aggregation can be provided by using
TypedAggregation.
aggregateAndReturn(Jedi.class)
.by(newAggregation(Human.class, project("These are not the droids you are looking for")))
.all();
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReactiveAggregationOperation.AggregationOperationWithAggregation<T>
Define the aggregation with pipeline stages.
|
static interface |
ReactiveAggregationOperation.AggregationOperationWithCollection<T>
Collection override (optional).
|
static interface |
ReactiveAggregationOperation.ReactiveAggregation<T> |
static interface |
ReactiveAggregationOperation.TerminatingAggregationOperation<T>
Trigger execution by calling one of the terminating methods.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ReactiveAggregationOperation.ReactiveAggregation<T> |
aggregateAndReturn(Class<T> domainType)
Start creating an aggregation operation that returns results mapped to the given domain type.
|
<T> ReactiveAggregationOperation.ReactiveAggregation<T> aggregateAndReturn(Class<T> domainType)
TypedAggregation to specify a potentially different
input type for he aggregation.domainType - must not be null.ReactiveAggregationOperation.ReactiveAggregation. Never null.IllegalArgumentException - if domainType is null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.