Class BucketOperationSupport.Outputs
java.lang.Object
org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
- All Implemented Interfaces:
AggregationExpression, MongoExpression
- Enclosing class:
BucketOperationSupport<T extends BucketOperationSupport<T,B>, B extends BucketOperationSupport.OutputBuilder<B, T>>
protected static class BucketOperationSupport.Outputs
extends Object
implements AggregationExpression
Encapsulates
BucketOperationSupport.Outputs.- Since:
- 1.10
- Author:
- Mark Paluch
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected BucketOperationSupport.Outputsand(BucketOperationSupport.Output output) Create a newBucketOperationSupport.Outputsthat contains the newBucketOperationSupport.Output.protected ExposedFieldsprotected booleanisEmpty()org.bson.DocumenttoDocument(AggregationOperationContext context) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AggregationExpression
toDocument
-
Field Details
-
EMPTY
-
-
Method Details
-
asExposedFields
- Returns:
- the
ExposedFieldsderived fromBucketOperationSupport.Output.
-
and
Create a newBucketOperationSupport.Outputsthat contains the newBucketOperationSupport.Output.- Parameters:
output- must not be null.- Returns:
- the new
BucketOperationSupport.Outputsthat contains the newBucketOperationSupport.Output
-
isEmpty
protected boolean isEmpty()- Returns:
- true if
BucketOperationSupport.Outputscontains noBucketOperationSupport.Output.
-
toDocument
Description copied from interface:AggregationExpression- Specified by:
toDocumentin interfaceAggregationExpression- Parameters:
context- must not be null.- Returns:
- the MongoDB native (
Document) form of the expression.
-