Class AggregationDistinctProjection

    • Constructor Detail

      • AggregationDistinctProjection

        public AggregationDistinctProjection​(int startIndex,
                                             int stopIndex,
                                             org.apache.shardingsphere.sql.parser.sql.common.enums.AggregationType type,
                                             String innerExpression,
                                             String alias,
                                             String distinctInnerExpression,
                                             DatabaseType databaseType)
    • Method Detail

      • getDistinctColumnLabel

        public String getDistinctColumnLabel()
        Get distinct column label.
        Returns:
        distinct column label
      • cloneWithOwner

        public Projection cloneWithOwner​(org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue ownerIdentifier)
        Description copied from interface: Projection
        Clone with owner.
        Specified by:
        cloneWithOwner in interface Projection
        Overrides:
        cloneWithOwner in class AggregationProjection
        Parameters:
        ownerIdentifier - owner identifier
        Returns:
        new projection