com.alibaba.druid.sql.ast.statement
Class SQLSelectItem

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.statement.SQLSelectItem
All Implemented Interfaces:
SQLObject, Serializable

public class SQLSelectItem
extends SQLObjectImpl

See Also:
Serialized Form

Constructor Summary
SQLSelectItem()
           
SQLSelectItem(SQLExpr expr)
           
SQLSelectItem(SQLExpr expr, String alias)
           
 
Method Summary
 String getAlias()
           
 SQLExpr getExpr()
           
 void output(StringBuffer buf)
           
 void setAlias(String alias)
           
 void setExpr(SQLExpr expr)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLSelectItem

public SQLSelectItem()

SQLSelectItem

public SQLSelectItem(SQLExpr expr)

SQLSelectItem

public SQLSelectItem(SQLExpr expr,
                     String alias)
Method Detail

getExpr

public SQLExpr getExpr()

setExpr

public void setExpr(SQLExpr expr)

getAlias

public String getAlias()

setAlias

public void setAlias(String alias)

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLObjectImpl


Copyright © 2012 Alibaba Group. All Rights Reserved.