public class Function extends ASTNodeAccessImpl implements Expression
| Constructor and Description |
|---|
Function() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionVisitor expressionVisitor) |
String |
getAttribute() |
KeepExpression |
getKeep() |
String |
getName()
The name of he function, i.e.
|
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()
true if the parameter to the function is "*"
|
boolean |
isDistinct()
true if the function is "distinct"
|
boolean |
isEscaped()
Return true if it's in the form "{fn function_body() }"
|
void |
setAllColumns(boolean b) |
void |
setAttribute(String attribute) |
void |
setDistinct(boolean b) |
void |
setEscaped(boolean isEscaped) |
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 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 String getAttribute()
public void setAttribute(String attribute)
public KeepExpression getKeep()
public void setKeep(KeepExpression keep)
Copyright © 2004–2019 JSQLParser. All rights reserved.