Class AggregationProjection
- java.lang.Object
-
- org.apache.shardingsphere.infra.binder.segment.select.projection.impl.AggregationProjection
-
- All Implemented Interfaces:
Projection
- Direct Known Subclasses:
AggregationDistinctProjection
public class AggregationProjection extends Object implements Projection
Aggregation projection.
-
-
Constructor Summary
Constructors Constructor Description AggregationProjection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectioncloneWithOwner(org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue owner)Clone with owner.Optional<String>getAlias()Get alias.StringgetColumnLabel()Get column label.StringgetExpression()Get expression.
-
-
-
Method Detail
-
getExpression
public final String getExpression()
Description copied from interface:ProjectionGet expression.- Specified by:
getExpressionin interfaceProjection- Returns:
- expression
-
getAlias
public final Optional<String> getAlias()
Description copied from interface:ProjectionGet alias.- Specified by:
getAliasin interfaceProjection- Returns:
- alias
-
getColumnLabel
public String getColumnLabel()
Get column label.- Specified by:
getColumnLabelin interfaceProjection- Returns:
- column label
-
cloneWithOwner
public Projection cloneWithOwner(org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue owner)
Description copied from interface:ProjectionClone with owner.- Specified by:
cloneWithOwnerin interfaceProjection- Parameters:
owner- owner identifier- Returns:
- new projection
-
-