net.sf.jsqlparser.statement.select
Class SubSelect
java.lang.Object
net.sf.jsqlparser.statement.select.SubSelect
- All Implemented Interfaces:
- Expression, ItemsList, FromItem
public class SubSelect
- extends java.lang.Object
- implements FromItem, Expression, ItemsList
A subselect followed by an optional alias.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
selectBody
private SelectBody selectBody
alias
private java.lang.String alias
SubSelect
public SubSelect()
accept
public void accept(FromItemVisitor fromItemVisitor)
- Specified by:
accept
in interface FromItem
getSelectBody
public SelectBody getSelectBody()
setSelectBody
public void setSelectBody(SelectBody body)
accept
public void accept(ExpressionVisitor expressionVisitor)
- Specified by:
accept
in interface Expression
getAlias
public java.lang.String getAlias()
- Specified by:
getAlias
in interface FromItem
setAlias
public void setAlias(java.lang.String string)
- Specified by:
setAlias
in interface FromItem
accept
public void accept(ItemsListVisitor itemsListVisitor)
- Specified by:
accept
in interface ItemsList
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object