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 boolean
equals(Object o)
Deprecated.BucketGranularity
getGranularity()
Deprecated.List<BsonField>
getOutput()
Deprecated.BucketAutoOptions
granularity(BucketGranularity granularity)
Deprecated.Specifies the granularity of the bucket definitions.int
hashCode()
Deprecated.BucketAutoOptions
output(BsonField... output)
Deprecated.The definition of the output document in each bucketBucketAutoOptions
output(List<BsonField> output)
Deprecated.The definition of the output document in each bucketString
toString()
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
-
-