Package com.mongodb.client.model
Class BucketAutoOptions
- java.lang.Object
-
- com.mongodb.client.model.BucketAutoOptions
-
@Deprecated(since="2021-05-27") public class BucketAutoOptions extends Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The options for a $bucketAuto aggregation pipeline stage- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description BucketAutoOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.BucketGranularitygetGranularity()Deprecated.List<BsonField>getOutput()Deprecated.BucketAutoOptionsgranularity(BucketGranularity granularity)Deprecated.Specifies the granularity of the bucket definitions.inthashCode()Deprecated.BucketAutoOptionsoutput(BsonField... output)Deprecated.The definition of the output document in each bucketBucketAutoOptionsoutput(List<BsonField> output)Deprecated.The definition of the output document in each bucketStringtoString()Deprecated.
-
-
-
Method Detail
-
getGranularity
@Nullable public BucketGranularity getGranularity()
Deprecated.- Returns:
- the granularity of the bucket definitions
-
getOutput
@Nullable public List<BsonField> getOutput()
Deprecated.- Returns:
- the output document definition
-
granularity
public BucketAutoOptions granularity(@Nullable BucketGranularity granularity)
Deprecated.Specifies the granularity of the bucket definitions.- Parameters:
granularity- the granularity of the bucket definitions- Returns:
- this
- See Also:
- Preferred numbers,
BucketGranularity
-
output
public BucketAutoOptions output(BsonField... output)
Deprecated.The definition of the output document in each bucket- Parameters:
output- the output document definition- Returns:
- this
-
output
public BucketAutoOptions output(@Nullable List<BsonField> output)
Deprecated.The definition of the output document in each bucket- Parameters:
output- the output document definition- Returns:
- this
-
-