Module spring.data.mongodb
Class BucketOperation.ExpressionBucketOperationBuilder
java.lang.Object
org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder<B,T>
org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.ExpressionBucketOperationBuilderSupport<BucketOperation.BucketOperationOutputBuilder,BucketOperation>
org.springframework.data.mongodb.core.aggregation.BucketOperation.ExpressionBucketOperationBuilder
- Enclosing class:
- BucketOperation
public static class BucketOperation.ExpressionBucketOperationBuilder
extends BucketOperationSupport.ExpressionBucketOperationBuilderSupport<BucketOperation.BucketOperationOutputBuilder,BucketOperation>
BucketOperationSupport.ExpressionBucketOperationBuilderSupport implementation for BucketOperation using SpEL expression
based BucketOperationSupport.Output.- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
operation, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExpressionBucketOperationBuilder(String expression, BucketOperation operation, Object[] parameters) Creates a newBucketOperationSupport.ExpressionBucketOperationBuilderSupportfor the given value,BucketOperationand parameters. -
Method Summary
Modifier and TypeMethodDescriptionapply(BucketOperationSupport.OperationOutput operationOutput) Apply anBucketOperationSupport.OperationOutputto this output.
-
Constructor Details
-
ExpressionBucketOperationBuilder
protected ExpressionBucketOperationBuilder(String expression, BucketOperation operation, Object[] parameters) Creates a newBucketOperationSupport.ExpressionBucketOperationBuilderSupportfor the given value,BucketOperationand parameters.- Parameters:
expression- must not be null.operation- must not be null.parameters- must not be null.
-
-
Method Details
-
apply
protected BucketOperation.BucketOperationOutputBuilder apply(BucketOperationSupport.OperationOutput operationOutput) Description copied from class:BucketOperationSupport.OutputBuilderApply anBucketOperationSupport.OperationOutputto this output.- Specified by:
applyin classBucketOperationSupport.OutputBuilder<BucketOperation.BucketOperationOutputBuilder,BucketOperation> - Parameters:
operationOutput- must not be null.- Returns:
- never null.
-