public class GridSqlAggregateFunction extends GridSqlFunction
type| Constructor and Description |
|---|
GridSqlAggregateFunction(boolean distinct,
org.gridgain.internal.h2.expression.aggregate.AggregateType type) |
GridSqlAggregateFunction(boolean distinct,
GridSqlFunctionType type) |
GridSqlAggregateFunction(GridSqlFunctionType type,
String name,
boolean distinct) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
distinct() |
GridSqlElement |
getGroupConcatSeparator() |
String |
getSQL() |
boolean |
hasGroupConcatOrder() |
protected static boolean |
isValidType(org.gridgain.internal.h2.expression.aggregate.AggregateType type)
Checks if the aggregate type is valid.
|
GridSqlAggregateFunction |
setGroupConcatOrder(GridSqlElement[] orderExpression,
boolean[] orderDesc) |
GridSqlAggregateFunction |
setGroupConcatSeparator(GridSqlElement separator) |
copy, name, typeaddChild, child, child, child, equals, hashCode, resultType, resultType, size, toStringpublic GridSqlAggregateFunction(boolean distinct,
GridSqlFunctionType type)
distinct - Distinct.type - Type.public GridSqlAggregateFunction(boolean distinct,
org.gridgain.internal.h2.expression.aggregate.AggregateType type)
distinct - Distinct.type - Type.public GridSqlAggregateFunction(GridSqlFunctionType type, String name, boolean distinct)
type - Type.name - Name.distinct - Distinct.protected static boolean isValidType(org.gridgain.internal.h2.expression.aggregate.AggregateType type)
type - Aggregate type.public boolean distinct()
public GridSqlAggregateFunction setGroupConcatOrder(GridSqlElement[] orderExpression, boolean[] orderDesc)
orderExpression - Order expression.orderDesc - Order descending flag.this for chaining.public boolean hasGroupConcatOrder()
true in case GROUP_CONCAT function contains ORDER BY expressions.public GridSqlAggregateFunction setGroupConcatSeparator(GridSqlElement separator)
separator - Separator expression.this for chaining.public GridSqlElement getGroupConcatSeparator()
public String getSQL()
getSQL in interface GridSqlAstgetSQL in class GridSqlFunction
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025