Module spring.data.mongodb
Class BucketOperation.BucketOperationOutputBuilder
java.lang.Object
org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder<BucketOperation.BucketOperationOutputBuilder,BucketOperation>
org.springframework.data.mongodb.core.aggregation.BucketOperation.BucketOperationOutputBuilder
- Enclosing class:
- BucketOperation
public static class BucketOperation.BucketOperationOutputBuilder
extends BucketOperationSupport.OutputBuilder<BucketOperation.BucketOperationOutputBuilder,BucketOperation>
BucketOperationSupport.OutputBuilder implementation for BucketOperation.-
Field Summary
Fields inherited from class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
operation, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBucketOperationOutputBuilder(Object value, BucketOperation operation) Creates a newBucketOperation.BucketOperationOutputBuilderfot the given value andBucketOperation. -
Method Summary
Modifier and TypeMethodDescriptionapply(BucketOperationSupport.OperationOutput operationOutput) Apply anBucketOperationSupport.OperationOutputto this output.
-
Constructor Details
-
BucketOperationOutputBuilder
Creates a newBucketOperation.BucketOperationOutputBuilderfot the given value andBucketOperation.- Parameters:
value- must not be null.operation- 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.
-