Class SQLSelect
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLSelect
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SQLLimitprotected SQLExprprotected SQLOrderByprotected SQLSelectQueryprotected SQLObjectprotected SQLExprprotected SQLWithSubqueryClauseprotected SQLExprFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanclone()booleanintgetHints()intgetLimit()getQuery()inthashCode()booleanbooleanisSimple()booleanreplace(SQLSelectQuery cmp, SQLSelectQuery target) voidsetForBrowse(boolean forBrowse) voidsetHeadHint(SQLHint headHint) voidvoidvoidsetOrderBy(SQLOrderBy orderBy) voidsetQuery(SQLSelectQuery query) voidsetRestriction(SQLObject restriction) voidsetRowCount(SQLExpr rowCount) voidvoidsetXmlPath(SQLExpr xmlPath) Methods 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, output, 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, output, putAttribute, setParent
-
Field Details
-
withSubQuery
-
query
-
orderBy
-
limit
-
hints
-
restriction
-
forBrowse
protected boolean forBrowse -
forXmlOptions
-
xmlPath
-
rowCount
-
offset
-
-
Constructor Details
-
SQLSelect
public SQLSelect() -
SQLSelect
-
-
Method Details
-
getHints
-
getHintsSize
public int getHintsSize() -
getWithSubQuery
-
setWithSubQuery
-
getQuery
-
setQuery
-
getQueryBlock
-
getOrderBy
-
setOrderBy
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getDbType
- Specified by:
getDbTypein interfaceSQLDbTypedObject
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
isSimple
public boolean isSimple() -
getRestriction
-
setRestriction
-
isForBrowse
public boolean isForBrowse() -
setForBrowse
public void setForBrowse(boolean forBrowse) -
getForXmlOptions
-
getForXmlOptionsSize
public int getForXmlOptionsSize() -
getRowCount
-
setRowCount
-
getHeadHint
-
setHeadHint
-
getOffset
-
setOffset
-
getXmlPath
-
setXmlPath
-
computeSelecteListAlias
-
getFirstQueryBlock
-
equals
-
hashCode
public int hashCode() -
addWhere
-
replace
-
getLimit
-
setLimit
-