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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested 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, commentsAfaterFrom, connectBy, dbType, distionOption, distributeBy, forShare, forUpdate, forUpdateOf, from, groupBy, hints, into, limit, noCycle, noWait, orderBy, orderBySiblings, prior, qualify, selectList, skipLocked, sortBy, startWith, waitTime, where, windowsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBase
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(DB2ASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) booleanvoidlimit(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
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, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getCachedSelectList, getCachedSelectListHash, getClusterBy, getClusterByDirect, getCommentsAfaterFrom, 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, hashCode, hasSelectAggregation, isDistinct, isForShare, isForUpdate, isNoCycle, isNoWait, isPrior, isSkipLocked, mergeLimit, removeCondition, removeCondition, replace, replaceInParent, resolveColum, selectItemHasAllColumn, selectItemHasAllColumn, setCachedSelectList, setCommentsAfaterFrom, setConnectBy, setDbType, 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, whereOrMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLSelectQueryBase
isParenthesized, setParenthesizedMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
-
Constructor Details
-
DB2SelectQueryBlock
public DB2SelectQueryBlock()
-
-
Method Details
-
accept0
- Overrides:
accept0in classSQLSelectQueryBlock
-
accept0
-
getIsolation
-
setIsolation
-
getLockRequest
-
setLockRequest
-
isForReadOnly
public boolean isForReadOnly() -
setForReadOnly
public void setForReadOnly(boolean forReadOnly) -
getOptimizeFor
-
setOptimizeFor
-
limit
public void limit(int rowCount, int offset) - Overrides:
limitin classSQLSelectQueryBlock
-
output
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLObjectImpl
-