Class MySqlSelectQueryBlock
- 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.mysql.ast.statement.MySqlSelectQueryBlock
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLSelectQuery,MySqlObject
public class MySqlSelectQueryBlock extends SQLSelectQueryBlock implements MySqlObject
-
-
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 MySqlSelectQueryBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)MySqlSelectQueryBlockclone()booleanequals(Object o)BooleangetCache()SQLNamegetForcePartition()intgetHintsSize()List<SQLExpr>getProcedureArgumentList()SQLNamegetProcedureName()inthashCode()booleanisBigResult()booleanisBufferResult()booleanisCalcFoundRows()booleanisHignPriority()booleanisLockInShareMode()booleanisSmallResult()booleanisStraightJoin()voidsetBigResult(boolean bigResult)voidsetBufferResult(boolean bufferResult)voidsetCache(Boolean cache)voidsetCalcFoundRows(boolean calcFoundRows)voidsetForcePartition(SQLName x)voidsetHignPriority(boolean hignPriority)voidsetLockInShareMode(boolean lockInShareMode)voidsetProcedureName(SQLName procedureName)voidsetSmallResult(boolean smallResult)voidsetStraightJoin(boolean straightJoin)StringtoString()-
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, cloneSelectListTo, cloneTo, computeSelecteListAlias, containsOrderBy, 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, getInto, getLimit, getMappJoinTableSources, getOffset, getOrderBy, getOrderBySiblings, getQualify, getSelectItem, getSelectList, getSortBy, getSortByDirect, getStartWith, getWaitTime, getWhere, getWindows, getWith, hasAllColumnSelectItem, hasSelectAggregation, isDistinct, isForShare, isForUpdate, isNoCycle, isNoWait, isPrior, isSkipLocked, limit, 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, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
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, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
clone
public MySqlSelectQueryBlock clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLSelectQuery- Overrides:
clonein classSQLSelectQueryBlock
-
getHintsSize
public int getHintsSize()
- Overrides:
getHintsSizein classSQLSelectQueryBlock
-
isLockInShareMode
public boolean isLockInShareMode()
-
setLockInShareMode
public void setLockInShareMode(boolean lockInShareMode)
-
getProcedureName
public SQLName getProcedureName()
-
setProcedureName
public void setProcedureName(SQLName procedureName)
-
isHignPriority
public boolean isHignPriority()
-
setHignPriority
public void setHignPriority(boolean hignPriority)
-
isStraightJoin
public boolean isStraightJoin()
-
setStraightJoin
public void setStraightJoin(boolean straightJoin)
-
isSmallResult
public boolean isSmallResult()
-
setSmallResult
public void setSmallResult(boolean smallResult)
-
isBigResult
public boolean isBigResult()
-
setBigResult
public void setBigResult(boolean bigResult)
-
isBufferResult
public boolean isBufferResult()
-
setBufferResult
public void setBufferResult(boolean bufferResult)
-
getCache
public Boolean getCache()
-
setCache
public void setCache(Boolean cache)
-
isCalcFoundRows
public boolean isCalcFoundRows()
-
setCalcFoundRows
public void setCalcFoundRows(boolean calcFoundRows)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSQLSelectQueryBlock
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSQLSelectQueryBlock
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLSelectQueryBlock
-
accept0
public void accept0(MySqlASTVisitor visitor)
- Specified by:
accept0in interfaceMySqlObject
-
getForcePartition
public SQLName getForcePartition()
-
setForcePartition
public void setForcePartition(SQLName x)
-
toString
public String toString()
- Overrides:
toStringin classSQLObjectImpl
-
-