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