Class Aggregate

    • Field Detail

      • SEPARATOR

        private static final java.lang.Object SEPARATOR
      • separator

        private java.lang.String separator
      • isDistinct

        private boolean isDistinct
      • countAll

        private boolean countAll
    • Method Detail

      • distinct

        public Aggregate distinct()
        Specify this aggregate expression to be distinct
        Returns:
        this aggregate instance
      • distinct

        public Aggregate distinct​(boolean isDistinct)
        Specify if this aggregate expression should be distinct or not
        Parameters:
        isDistinct - if this aggregate should be distinct
        Returns:
        this aggregate instance
      • countAll

        public Aggregate countAll()
        If this is a count aggregate expressions, specify that it should count all
        Returns:
        this aggregate instance
      • countAll

        public Aggregate countAll​(boolean countAll)
        If this is a count aggregate expressions, specify if it should count all
        Parameters:
        countAll - if this should count all arguments or not
        Returns:
        this aggregate instance
      • separator

        public Aggregate separator​(java.lang.String separator)
        If this is a group_concat aggregate expression, specify the separator to use
        Parameters:
        separator - the separator to use
        Returns:
        this aggregate instance
        See Also:
        group_concat()