Package com.mongodb.client.model
Class BucketOptions
- java.lang.Object
-
- com.mongodb.client.model.BucketOptions
-
@Deprecated(since="2021-05-27") public class BucketOptions extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The options for a $bucket aggregation pipeline stage- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description BucketOptions()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BucketOptions
defaultBucket(java.lang.Object name)
Deprecated.The name of the default bucket for values outside the defined bucketsboolean
equals(java.lang.Object o)
Deprecated.java.lang.Object
getDefaultBucket()
Deprecated.java.util.List<BsonField>
getOutput()
Deprecated.int
hashCode()
Deprecated.BucketOptions
output(BsonField... output)
Deprecated.The definition of the output document in each bucketBucketOptions
output(java.util.List<BsonField> output)
Deprecated.The definition of the output document in each bucketjava.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
defaultBucket
public BucketOptions defaultBucket(@Nullable java.lang.Object name)
Deprecated.The name of the default bucket for values outside the defined buckets- Parameters:
name
- the bucket value- Returns:
- this
-
getDefaultBucket
@Nullable public java.lang.Object getDefaultBucket()
Deprecated.- Returns:
- the default bucket value
-
getOutput
@Nullable public java.util.List<BsonField> getOutput()
Deprecated.- Returns:
- the output document definition
-
output
public BucketOptions output(BsonField... output)
Deprecated.The definition of the output document in each bucket- Parameters:
output
- the output document definition- Returns:
- this
-
output
public BucketOptions output(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
-
-