Package com.mongodb.client.model
Class BucketAutoOptions
java.lang.Object
com.mongodb.client.model.BucketAutoOptions
The options for a $bucketAuto aggregation pipeline stage
- Since:
- 3.4
- MongoDB documentation
- $bucketAuto
- Since server release
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangranularity(BucketGranularity granularity) Specifies the granularity of the bucket definitions.inthashCode()The definition of the output document in each bucketThe definition of the output document in each buckettoString()
-
Constructor Details
-
BucketAutoOptions
public BucketAutoOptions()
-
-
Method Details
-
getGranularity
- Returns:
- the granularity of the bucket definitions
-
getOutput
- Returns:
- the output document definition
-
granularity
Specifies the granularity of the bucket definitions.- Parameters:
granularity- the granularity of the bucket definitions- Returns:
- this
- See Also:
-
output
The definition of the output document in each bucket- Parameters:
output- the output document definition- Returns:
- this
-
output
The definition of the output document in each bucket- Parameters:
output- the output document definition- Returns:
- this
-
equals
-
hashCode
public int hashCode() -
toString
-