public class SqlFunctionAggregate extends SqlNode
Aggregate functions that are more complex, like GroupConcat, are defined in separate classes.
| Constructor | Description |
|---|---|
SqlFunctionAggregate(AggregateFunction function,
List<SqlNode> arguments,
boolean distinct) |
| Modifier and Type | Method | Description |
|---|---|---|
<R> R |
accept(SqlNodeVisitor<R> visitor) |
See
SqlNodeVisitor |
List<SqlNode> |
getArguments() |
|
AggregateFunction |
getFunction() |
|
String |
getFunctionName() |
|
SqlNodeType |
getType() |
|
boolean |
hasDistinct() |
|
String |
toSimpleSql() |
public SqlFunctionAggregate(AggregateFunction function, List<SqlNode> arguments, boolean distinct)
public AggregateFunction getFunction()
public String getFunctionName()
public boolean hasDistinct()
public String toSimpleSql()
public SqlNodeType getType()
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
SqlNodeSqlNodeVisitoraccept in class SqlNodeR - generic SqlNodeVisitor typevisitor - The visitor object on which the appropriate visit(sqlNode) method is calledAdapterException - can be thrownCopyright © 2019. All rights reserved.