Uses of Class
org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
Packages that use BucketAutoOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of BucketAutoOperation in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return BucketAutoOperationModifier and TypeMethodDescriptionstatic BucketAutoOperationAggregation.bucketAuto(String groupByField, int buckets) Creates a newBucketAutoOperationgiven groupByField.static BucketAutoOperationAggregation.bucketAuto(AggregationExpression groupByExpression, int buckets) Creates a newBucketAutoOperationgivengroup-by expression.protected BucketAutoOperationBucketAutoOperation.newBucketOperation(BucketOperationSupport.Outputs outputs) BucketAutoOperation.withBuckets(int buckets) Configures a number of bucket buckets and return a newBucketAutoOperation.BucketAutoOperation.withGranularity(BucketAutoOperation.Granularity granularity) Configuresgranularitythat specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10 and return a newBucketAutoOperation.Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type BucketAutoOperationModifierConstructorDescriptionprotectedBucketAutoOperationOutputBuilder(Object value, BucketAutoOperation operation) Creates a newBucketAutoOperation.BucketAutoOperationOutputBuilderfot the given value andBucketAutoOperation.protectedExpressionBucketAutoOperationBuilder(String expression, BucketAutoOperation operation, Object[] parameters) Creates a newBucketAutoOperation.ExpressionBucketAutoOperationBuilderfor the given value,BucketAutoOperationand parameters.