Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FieldsExposingAggregationOperation
AggregationOperation that exposes ExposedFields that can be used for later aggregation pipeline
AggregationOperation s. |
static interface |
FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation
Marker interface for
AggregationOperation that inherits fields from previous operations. |
Modifier and Type | Class and Description |
---|---|
class |
BucketAutoOperation
Encapsulates the aggregation framework
$bucketAuto -operation. |
class |
BucketOperation
Encapsulates the aggregation framework
$bucket -operation. |
class |
BucketOperationSupport<T extends BucketOperationSupport<T,B>,B extends BucketOperationSupport.OutputBuilder<B,T>>
Base class for bucket operations that support output expressions the aggregation framework.
|
class |
CountOperation
Encapsulates the aggregation framework
$count -operation. |
class |
FacetOperation
Encapsulates the aggregation framework
$facet -operation. |
class |
GeoNearOperation
Represents a
geoNear aggregation operation. |
class |
GraphLookupOperation
Encapsulates the aggregation framework
$graphLookup -operation. |
class |
GroupOperation
Encapsulates the aggregation framework
$group -operation. |
class |
LimitOperation
Encapsulates the
$limit -operation. |
class |
LookupOperation
Encapsulates the aggregation framework
$lookup -operation. |
class |
MatchOperation
Encapsulates the
$match -operation. |
class |
OutOperation
Encapsulates the
$out -operation. |
class |
ProjectionOperation
Encapsulates the aggregation framework
$project -operation. |
static class |
ProjectionOperation.ExpressionProjectionOperationBuilder
An
ProjectionOperation.ProjectionOperationBuilder that is used for SpEL expression based projections. |
static class |
ProjectionOperation.ProjectionOperationBuilder
Builder for
ProjectionOperation s on a field. |
class |
ReplaceRootOperation
Encapsulates the aggregation framework
$replaceRoot -operation. |
static class |
ReplaceRootOperation.ReplaceRootDocumentOperation
Encapsulates the aggregation framework
$replaceRoot -operation to result in a composable replacement
document. |
class |
SampleOperation
Encapsulates the
$sample -operation. |
class |
SkipOperation
Encapsulates the aggregation framework
$skip -operation. |
class |
SortByCountOperation
Encapsulates the aggregation framework
$sortByCount -operation. |
class |
SortOperation
Encapsulates the aggregation framework
$sort -operation. |
class |
UnwindOperation
Encapsulates the aggregation framework
$unwind -operation. |
Modifier and Type | Field and Description |
---|---|
protected List<AggregationOperation> |
Aggregation.operations |
Modifier and Type | Method and Description |
---|---|
protected static List<AggregationOperation> |
Aggregation.asAggregationList(AggregationOperation... aggregationOperations) |
Modifier and Type | Method and Description |
---|---|
FacetOperation.FacetOperationBuilder |
FacetOperation.and(AggregationOperation... operations)
Creates a new
FacetOperation.FacetOperationBuilder to append a new facet using operations. |
protected static List<AggregationOperation> |
Aggregation.asAggregationList(AggregationOperation... aggregationOperations) |
static FacetOperation.FacetOperationBuilder |
Aggregation.facet(AggregationOperation... aggregationOperations)
Creates a new
FacetOperation.FacetOperationBuilder given Aggregation . |
static Aggregation |
Aggregation.newAggregation(AggregationOperation... operations)
Creates a new
Aggregation from the given AggregationOperation s. |
static <T> TypedAggregation<T> |
Aggregation.newAggregation(Class<T> type,
AggregationOperation... operations)
Creates a new
TypedAggregation for the given type and AggregationOperation s. |
Modifier and Type | Method and Description |
---|---|
static <T> TypedAggregation<T> |
Aggregation.newAggregation(Class<T> type,
List<? extends AggregationOperation> operations)
Creates a new
TypedAggregation for the given type and AggregationOperation s. |
static Aggregation |
Aggregation.newAggregation(List<? extends AggregationOperation> operations)
Creates a new
Aggregation from the given AggregationOperation s. |
Constructor and Description |
---|
Aggregation(AggregationOperation... aggregationOperations)
Creates a new
Aggregation from the given AggregationOperation s. |
TypedAggregation(Class<I> inputType,
AggregationOperation... operations)
Creates a new
TypedAggregation from the given AggregationOperation s. |
Constructor and Description |
---|
Aggregation(List<AggregationOperation> aggregationOperations)
Creates a new
Aggregation from the given AggregationOperation s. |
Aggregation(List<AggregationOperation> aggregationOperations,
AggregationOptions options)
Creates a new
Aggregation from the given AggregationOperation s. |
TypedAggregation(Class<I> inputType,
List<AggregationOperation> operations)
Creates a new
TypedAggregation from the given AggregationOperation s. |
TypedAggregation(Class<I> inputType,
List<AggregationOperation> operations,
AggregationOptions options)
Creates a new
TypedAggregation from the given AggregationOperation s and the given
AggregationOptions . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.