Class BucketOptions


  • @Deprecated(since="2021-05-27")
    public class BucketOptions
    extends 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 Detail

      • BucketOptions

        public BucketOptions()
        Deprecated.
    • Method Detail

      • defaultBucket

        public BucketOptions defaultBucket​(@Nullable
                                           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 Object getDefaultBucket()
        Deprecated.
        Returns:
        the default bucket value
      • getOutput

        @Nullable
        public 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​(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