Class DB2SelectQueryBlock
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLSelectQueryBase
-
- com.alibaba.druid.sql.ast.statement.SQLSelectQueryBlock
-
- com.alibaba.druid.sql.dialect.db2.ast.stmt.DB2SelectQueryBlock
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLSelectQuery,DB2Object
public class DB2SelectQueryBlock extends SQLSelectQueryBlock implements DB2Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDB2SelectQueryBlock.Isolationstatic classDB2SelectQueryBlock.LockRequest-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.dialect.db2.ast.DB2Object
DB2Object.Constants
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBlock
cachedSelectList, cachedSelectListHash, clusterBy, commentsAfterFrom, connectBy, dbType, distionOption, distributeBy, forShare, forUpdate, forUpdateOf, from, groupBy, hints, into, limit, noCycle, noWait, orderBy, orderBySiblings, prior, qualify, selectList, skipLocked, sortBy, startWith, waitTime, where, windows, with
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBase
parenthesized
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description DB2SelectQueryBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(DB2ASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)DB2SelectQueryBlock.IsolationgetIsolation()DB2SelectQueryBlock.LockRequestgetLockRequest()SQLExprgetOptimizeFor()booleanisForReadOnly()voidlimit(int rowCount, int offset)voidoutput(StringBuilder buf)voidsetForReadOnly(boolean forReadOnly)voidsetIsolation(DB2SelectQueryBlock.Isolation isolation)voidsetLockRequest(DB2SelectQueryBlock.LockRequest lockRequest)voidsetOptimizeFor(SQLExpr optimizeFor)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBlock
acceptChild, addClusterBy, addCondition, addCondition, addDistributeBy, addDistributeBy, addHaving, addOrderBy, addOrderBy, addOrderBy, addOrderBy, addSelectItem, addSelectItem, addSelectItem, addSelectItem, addSortBy, addWhere, addWhereForDynamicFilter, addWindow, clearMapJoinHint, clone, cloneSelectListTo, cloneTo, computeSelecteListAlias, containsOrderBy, equals, equalsForMergeJoin, findAllColumnSelectItem, findColumn, findColumn, findSelectItem, findSelectItem, findSelectItemAndComputeDataType, findSelectItemAndComputeDataType, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getCachedSelectList, getCachedSelectListHash, getClusterBy, getClusterByDirect, getCommentsAfterFrom, getConnectBy, getDbType, getDistionOption, getDistributeBy, getDistributeByDirect, getFirst, getForUpdateOf, getForUpdateOfSize, getFrom, getGroupBy, getHints, getHintsDirect, getHintsSize, getInto, getLimit, getMappJoinTableSources, getOffset, getOrderBy, getOrderBySiblings, getQualify, getSelectItem, getSelectList, getSortBy, getSortByDirect, getStartWith, getWaitTime, getWhere, getWindows, getWith, hasAllColumnSelectItem, hashCode, hasSelectAggregation, isDistinct, isForShare, isForUpdate, isNoCycle, isNoWait, isPrior, isSkipLocked, mergeLimit, removeCondition, removeCondition, replace, replaceInParent, replaceList, resolveColum, selectItemHasAllColumn, selectItemHasAllColumn, setCachedSelectList, setCommentsAfterFrom, setConnectBy, setDbType, setDistinct, setDistinct, setDistionOption, setFirst, setForShare, setForUpdate, setFrom, setFrom, setFrom, setFrom, setFrom, setGroupBy, setHints, setInto, setInto, setLimit, setNoCycle, setNoWait, setOffset, setOrderBy, setOrderBySiblings, setPrior, setQualify, setSkipLocked, setStartWith, setWaitTime, setWhere, setWith, whereOr
-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBase
cloneTo, isParenthesized, setParenthesized
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLSelectQueryBlock
-
accept0
public void accept0(DB2ASTVisitor visitor)
-
getIsolation
public DB2SelectQueryBlock.Isolation getIsolation()
-
setIsolation
public void setIsolation(DB2SelectQueryBlock.Isolation isolation)
-
getLockRequest
public DB2SelectQueryBlock.LockRequest getLockRequest()
-
setLockRequest
public void setLockRequest(DB2SelectQueryBlock.LockRequest lockRequest)
-
isForReadOnly
public boolean isForReadOnly()
-
setForReadOnly
public void setForReadOnly(boolean forReadOnly)
-
getOptimizeFor
public SQLExpr getOptimizeFor()
-
setOptimizeFor
public void setOptimizeFor(SQLExpr optimizeFor)
-
limit
public void limit(int rowCount, int offset)- Overrides:
limitin classSQLSelectQueryBlock
-
output
public void output(StringBuilder buf)
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLObjectImpl
-
-