Class BucketAutoOptions


  • public class BucketAutoOptions
    extends 
    The options for a $bucketAuto aggregation pipeline stage
    Since:
    3.4
    MongoDB documentation
    Since server release
    • Constructor Detail

      • BucketAutoOptions

        public BucketAutoOptions()
    • Method Detail

      • getOutput

        @Nullable
        public <BsonField> getOutput()
        Returns:
        the output document definition
      • output

        public BucketAutoOptions output​(BsonField... output)
        The definition of the output document in each bucket
        Parameters:
        output - the output document definition
        Returns:
        this
      • output

        public BucketAutoOptions output​(@Nullable
                                        <BsonField> output)
        The definition of the output document in each bucket
        Parameters:
        output - the output document definition
        Returns:
        this
      • equals

        public boolean equals​( o)
        Overrides:
         in class 
      • hashCode

        public int hashCode()
        Overrides:
         in class 
      • toString

        public  toString()
        Overrides:
         in class