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

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.statement.SQLSelectQuery
          extended by com.alibaba.druid.sql.ast.statement.SQLSelectQueryBlock
All Implemented Interfaces:
SQLObject, Serializable
Direct Known Subclasses:
MySqlSelectQueryBlock, OracleSelectQueryBlock, PGSelectQueryBlock, SQLServerSelectQueryBlock

public class SQLSelectQueryBlock
extends SQLSelectQuery

See Also:
Serialized Form

Constructor Summary
SQLSelectQueryBlock()
           
 
Method Summary
 int getDistionOption()
           
 SQLTableSource getFrom()
           
 SQLSelectGroupByClause getGroupBy()
           
 SQLExprTableSource getInto()
           
 List<SQLSelectItem> getSelectList()
           
 SQLExpr getWhere()
           
 void output(StringBuffer buf)
           
 void setDistionOption(int distionOption)
           
 void setFrom(SQLTableSource from)
           
 void setGroupBy(SQLSelectGroupByClause groupBy)
           
 void setInto(SQLExpr into)
           
 void setInto(SQLExprTableSource into)
           
 void setWhere(SQLExpr where)
           
 
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

SQLSelectQueryBlock

public SQLSelectQueryBlock()
Method Detail

getInto

public SQLExprTableSource getInto()

setInto

public void setInto(SQLExpr into)

setInto

public void setInto(SQLExprTableSource into)

getGroupBy

public SQLSelectGroupByClause getGroupBy()

setGroupBy

public void setGroupBy(SQLSelectGroupByClause groupBy)

getWhere

public SQLExpr getWhere()

setWhere

public void setWhere(SQLExpr where)

getDistionOption

public int getDistionOption()

setDistionOption

public void setDistionOption(int distionOption)

getSelectList

public List<SQLSelectItem> getSelectList()

getFrom

public SQLTableSource getFrom()

setFrom

public void setFrom(SQLTableSource from)

output

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


Copyright © 2012 Alibaba Group. All Rights Reserved.