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.ObjectDeprecated.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(java.lang.Object o)Deprecated.BucketGranularitygetGranularity()Deprecated.java.util.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(java.util.List<BsonField> output)Deprecated.The definition of the output document in each bucketjava.lang.StringtoString()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-