public class AnalyticFunction extends AbstractFunction
DISTINCT and
ALL and the over clause.| Modifier and Type | Class and Description |
|---|---|
static class |
AnalyticFunction.Keyword |
functionName, parameters| Modifier and Type | Method and Description |
|---|---|
void |
accept(FunctionVisitor visitor)
Accept
FunctionVisitor. |
AnalyticFunction.Keyword |
getKeyword()
Get the keyword for the function call, may be
null. |
OverClause |
getOverClause()
Get the "over clause" appended to the function call, may be
null. |
boolean |
hasParenthesis()
Check if function needs parenthesis.
|
AnalyticFunction |
keywordAll()
Add keyword
ALL to the function call |
AnalyticFunction |
keywordDistinct()
Add keyword
DISTINCT to the function call |
static AnalyticFunction |
of(ExasolAnalyticAggregateFunctions functionName,
ValueExpression... valueExpressions)
Create a new
AnalyticFunction instance. |
AnalyticFunction |
over(OverClause overClause)
Add the given over clause to the function call.
|
AnalyticFunction |
over(UnaryOperator<OverClause> configurator)
Add an
OVER clause to the function call. |
accept, getFunctionName, getParameterspublic static AnalyticFunction of(ExasolAnalyticAggregateFunctions functionName, ValueExpression... valueExpressions)
AnalyticFunction instance.functionName - name of the functionvalueExpressions - zero or more value expressionsAnalyticFunctionpublic AnalyticFunction keywordDistinct()
DISTINCT to the function callAnalyticFunction for fluent programmingpublic AnalyticFunction keywordAll()
ALL to the function callAnalyticFunction for fluent programmingpublic AnalyticFunction.Keyword getKeyword()
null.public AnalyticFunction over(OverClause overClause)
overClause - over clause to addAnalyticFunction for fluent programmingpublic AnalyticFunction over(UnaryOperator<OverClause> configurator)
OVER clause to the function call. You configure the clause in the given lambda.configurator - lambda configuring the OverClause.AnalyticFunction for fluent programmingpublic OverClause getOverClause()
null.public boolean hasParenthesis()
Functionpublic void accept(FunctionVisitor visitor)
FunctionFunctionVisitor.visitor - visitor to acceptCopyright © 2018–2021. All rights reserved.