Class SQLSelectGroupByClause
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLSelectGroupByClause
- All Implemented Interfaces:
SQLObject,SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidvoidvoidclone()booleancontainsItem(SQLExpr item) booleangetHint()getItems()inthashCode()booleanbooleanisParen()booleanbooleanbooleanvoidsetDistinct(boolean distinct) voidvoidsetHint(SQLCommentHint hint) voidsetParen(boolean paren) voidsetWithCube(boolean withCube) voidsetWithRollUp(boolean withRollUp) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSourceColumn, setSourceLine, toString
-
Constructor Details
-
SQLSelectGroupByClause
public SQLSelectGroupByClause()
-
-
Method Details
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
isDistinct
public boolean isDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
isWithRollUp
public boolean isWithRollUp() -
setWithRollUp
public void setWithRollUp(boolean withRollUp) -
isWithCube
public boolean isWithCube() -
setWithCube
public void setWithCube(boolean withCube) -
getHaving
-
setHaving
-
addHaving
-
getItems
-
containsItem
-
addItem
-
addItem
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
getHint
- Overrides:
getHintin classSQLObjectImpl
-
setHint
- Overrides:
setHintin classSQLObjectImpl
-
isParen
public boolean isParen() -
setParen
public void setParen(boolean paren) -
equals
-
hashCode
public int hashCode()
-