public class SQLSelectQueryBlock extends SQLObjectImpl implements SQLSelectQuery, SQLReplaceable
Constructor and Description |
---|
SQLSelectQueryBlock() |
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public SQLExprTableSource getInto()
public void setInto(SQLExpr into)
public void setInto(SQLExprTableSource into)
public SQLSelectGroupByClause getGroupBy()
public void setGroupBy(SQLSelectGroupByClause groupBy)
public SQLExpr getWhere()
public void setWhere(SQLExpr where)
public void addWhere(SQLExpr condition)
public SQLOrderBy getOrderBy()
public void setOrderBy(SQLOrderBy orderBy)
public SQLOrderBy getOrderBySiblings()
public void setOrderBySiblings(SQLOrderBy orderBySiblings)
public int getDistionOption()
public void setDistionOption(int distionOption)
public List<SQLSelectItem> getSelectList()
public void addSelectItem(SQLSelectItem item)
public void addSelectItem(SQLExpr expr)
public SQLTableSource getFrom()
public void setFrom(SQLTableSource from)
public void setFrom(SQLSelectQueryBlock queryBlock, String alias)
public boolean isParenthesized()
public void setParenthesized(boolean parenthesized)
public boolean isForUpdate()
public void setForUpdate(boolean forUpdate)
public boolean isNoWait()
public void setNoWait(boolean noWait)
public SQLExpr getWaitTime()
public void setWaitTime(SQLExpr waitTime)
public SQLLimit getLimit()
public void setLimit(SQLLimit limit)
public SQLExpr getFirst()
public void setFirst(SQLExpr first)
public SQLExpr getOffset()
public void setOffset(SQLExpr offset)
public boolean isPrior()
public void setPrior(boolean prior)
public SQLExpr getStartWith()
public void setStartWith(SQLExpr startWith)
public SQLExpr getConnectBy()
public void setConnectBy(SQLExpr connectBy)
public boolean isNoCycle()
public void setNoCycle(boolean noCycle)
public List<SQLSelectOrderByItem> getSortBy()
public SQLSelectQueryBlock clone()
clone
in interface SQLObject
clone
in interface SQLSelectQuery
clone
in class SQLObjectImpl
public int getForUpdateOfSize()
public void cloneSelectListTo(SQLSelectQueryBlock x)
public void cloneTo(SQLSelectQueryBlock x)
public boolean isBracket()
isBracket
in interface SQLSelectQuery
public void setBracket(boolean bracket)
setBracket
in interface SQLSelectQuery
public SQLTableSource findTableSource(String alias)
public SQLTableSource findTableSourceWithColumn(String column)
public SQLTableSource findTableSourceWithColumn(long columnHash)
public boolean replace(SQLExpr expr, SQLExpr target)
replace
in interface SQLReplaceable
public SQLSelectItem findSelectItem(String ident)
public SQLSelectItem findSelectItem(long identHash)
public boolean selectItemHasAllColumn()
public boolean selectItemHasAllColumn(boolean recursive)
public SQLSelectItem findAllColumnSelectItem()
public SQLColumnDefinition findColumn(String columnName)
public void addCondition(String conditionSql)
public void addCondition(SQLExpr expr)
public boolean removeCondition(String conditionSql)
public boolean removeCondition(SQLExpr condition)
public void limit(int rowCount, int offset)
public String getCachedSelectList()
public void setCachedSelectList(String cachedSelectList)
public String getDbType()
public void setDbType(String dbType)
Copyright © 2013–2017 Alibaba Group. All rights reserved.