public class Function extends ASTNodeAccessImpl implements Expression
| Constructor and Description |
|---|
Function() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionVisitor expressionVisitor) |
Expression |
getAttribute() |
String |
getAttributeName() |
KeepExpression |
getKeep() |
String |
getName() |
NamedExpressionList |
getNamedParameters()
the parameters might be named parameters, e.g. substring('foobar' from 2 for 3)
|
ExpressionList |
getParameters()
The list of parameters of the function (if any, else null) If the parameter is "*",
allColumns is set to true
|
boolean |
isAllColumns() |
boolean |
isDistinct()
true if the function is "distinct"
|
boolean |
isEscaped()
Return true if it's in the form "{fn function_body() }"
|
boolean |
isIgnoreNulls() |
void |
setAllColumns(boolean b) |
void |
setAttribute(Expression attribute) |
void |
setAttributeName(String attributeName) |
void |
setDistinct(boolean b) |
void |
setEscaped(boolean isEscaped) |
void |
setIgnoreNulls(boolean ignoreNulls)
This is at the moment only necessary for AnalyticExpression initialization and not for normal
functions.
|
void |
setKeep(KeepExpression keep) |
void |
setName(String string) |
void |
setNamedParameters(NamedExpressionList list) |
void |
setParameters(ExpressionList list) |
String |
toString() |
getASTNode, setASTNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetASTNode, setASTNodepublic void accept(ExpressionVisitor expressionVisitor)
accept in interface Expressionpublic String getName()
public void setName(String string)
public boolean isAllColumns()
public void setAllColumns(boolean b)
public boolean isIgnoreNulls()
public void setIgnoreNulls(boolean ignoreNulls)
ignoreNulls - public boolean isDistinct()
public void setDistinct(boolean b)
public ExpressionList getParameters()
public void setParameters(ExpressionList list)
public NamedExpressionList getNamedParameters()
public void setNamedParameters(NamedExpressionList list)
public boolean isEscaped()
public void setEscaped(boolean isEscaped)
public Expression getAttribute()
public void setAttribute(Expression attribute)
public String getAttributeName()
public void setAttributeName(String attributeName)
public KeepExpression getKeep()
public void setKeep(KeepExpression keep)
Copyright © 2004–2019 JSQLParser. All rights reserved.