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 Details

    • BucketAutoOptions

      public BucketAutoOptions()
      Deprecated.
  • Method Details

    • 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:
    • 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
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object