net.sf.jsqlparser.statement.select
Class SelectExpressionItem
java.lang.Object
net.sf.jsqlparser.statement.select.SelectExpressionItem
- All Implemented Interfaces:
- SelectItem
public class SelectExpressionItem
- extends java.lang.Object
- implements SelectItem
An expression as in "SELECT expr1 AS EXPR"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
expression
private Expression expression
alias
private java.lang.String alias
SelectExpressionItem
public SelectExpressionItem()
getAlias
public java.lang.String getAlias()
getExpression
public Expression getExpression()
setAlias
public void setAlias(java.lang.String string)
setExpression
public void setExpression(Expression expression)
accept
public void accept(SelectItemVisitor selectItemVisitor)
- Specified by:
accept
in interface SelectItem
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object