Class 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 Detail

      • BucketAutoOptions

        public BucketAutoOptions()
        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
      • 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 class java.lang.Object
      • hashCode

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

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