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, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic 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 void addSortBy(SQLSelectOrderByItem item)
public SQLSelectQueryBlock clone()
clone in interface SQLObjectclone in interface SQLSelectQueryclone in class SQLObjectImplpublic int getForUpdateOfSize()
public void cloneSelectListTo(SQLSelectQueryBlock x)
public void cloneTo(SQLSelectQueryBlock x)
public boolean isBracket()
isBracket in interface SQLSelectQuerypublic void setBracket(boolean bracket)
setBracket in interface SQLSelectQuerypublic SQLTableSource findTableSource(String alias)
public SQLTableSource findTableSourceWithColumn(String column)
public SQLTableSource findTableSourceWithColumn(long columnHash)
public boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic 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, long cachedSelectListHash)
public long getCachedSelectListHash()
public List<SQLCommentHint> getHintsDirect()
public List<SQLCommentHint> getHints()
public void setHints(List<SQLCommentHint> hints)
public int getHintsSize()
public String getDbType()
public void setDbType(String dbType)
public void addWindow(SQLWindow x)
Copyright © 2013–2018 Alibaba Group. All rights reserved.