Package com.mongodb.client.model
Class BucketAutoOptions
- java.lang.Object
-
- com.mongodb.client.model.BucketAutoOptions
-
@Deprecated(since="2021-05-27") public class BucketAutoOptions extends java.lang.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(java.lang.Object o)
Deprecated.BucketGranularity
getGranularity()
Deprecated.java.util.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(java.util.List<BsonField> output)
Deprecated.The definition of the output document in each bucketjava.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getGranularity
@Nullable public BucketGranularity getGranularity()
Deprecated.- Returns:
- the granularity of the bucket definitions
-
getOutput
@Nullable public java.util.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 java.util.List<BsonField> output)
Deprecated.The definition of the output document in each bucket- Parameters:
output
- the output document definition- Returns:
- this
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-