Class AggregationDistinctProjection
- java.lang.Object
-
- org.apache.shardingsphere.infra.binder.segment.select.projection.impl.AggregationProjection
-
- org.apache.shardingsphere.infra.binder.segment.select.projection.impl.AggregationDistinctProjection
-
- All Implemented Interfaces:
Projection
public final class AggregationDistinctProjection extends AggregationProjection
Aggregation distinct projection.
-
-
Constructor Summary
Constructors Constructor Description AggregationDistinctProjection(int startIndex, int stopIndex, org.apache.shardingsphere.sql.parser.sql.common.enums.AggregationType type, String innerExpression, String alias, String distinctInnerExpression, DatabaseType databaseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectioncloneWithOwner(org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue ownerIdentifier)Clone with owner.StringgetDistinctColumnLabel()Get distinct column label.-
Methods inherited from class org.apache.shardingsphere.infra.binder.segment.select.projection.impl.AggregationProjection
getAlias, getColumnLabel, getExpression
-
-
-
-
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:ProjectionClone with owner.- Specified by:
cloneWithOwnerin interfaceProjection- Overrides:
cloneWithOwnerin classAggregationProjection- Parameters:
ownerIdentifier- owner identifier- Returns:
- new projection
-
-