Package com.alibaba.druid.sql.ast.expr
Class SQLAggregateExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr
com.alibaba.druid.sql.ast.expr.SQLAggregateExpr
- All Implemented Interfaces:
SQLExpr,SQLObject,SQLReplaceable,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SQLExprprotected Booleanprotected SQLKeepprotected SQLAggregateOptionprotected SQLOrderByprotected SQLOverprotected SQLNameprotected booleanFields inherited from class com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr
arguments, from, hasFor, methodName, methodNameHashCode64, owner, resolvedReturnDataType, trimOption, usingFields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLAggregateExpr(String methodName) SQLAggregateExpr(String methodName, SQLAggregateOption option) SQLAggregateExpr(String methodName, SQLAggregateOption option, SQLExpr... arguments) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) clone()booleangetKeep()getOver()Deprecated.inthashCode()booleanbooleanbooleanbooleanvoidvoidsetIgnoreNulls(boolean ignoreNulls) voidvoidsetOption(SQLAggregateOption option) voidsetOrderBy(SQLOrderBy orderBy) voidvoidvoidsetWithinGroup(boolean withinGroup) toString()Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr
accept0, addArgument, addParameter, cloneTo, getArguments, getAs, getContent, getFor, getFrom, getMethodName, getOwner, getParameters, getResolvedReturnDataType, getTrimOption, getUsing, match, methodNameHashCode64, output, setArgument, setAs, setContent, setFor, setFrom, setMethodName, setOwner, setResolvedReturnDataType, setTrimOption, setUsingMethods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
isParenthesized, setParenthesizedMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods 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
-
Field Details
-
option
-
keep
-
filter
-
over
-
overRef
-
orderBy
-
withinGroup
protected boolean withinGroup -
ignoreNulls
-
-
Constructor Details
-
SQLAggregateExpr
-
SQLAggregateExpr
-
SQLAggregateExpr
-
-
Method Details
-
getOrderBy
-
setOrderBy
-
getOption
-
setOption
-
isDistinct
public boolean isDistinct() -
getOver
-
setOver
-
getOverRef
-
setOverRef
-
getKeep
-
setKeep
-
isWithinGroup
public boolean isWithinGroup() -
setWithinGroup
public void setWithinGroup(boolean withinGroup) -
getWithinGroup
Deprecated. -
isIgnoreNulls
public boolean isIgnoreNulls() -
getIgnoreNulls
-
setIgnoreNulls
public void setIgnoreNulls(boolean ignoreNulls) -
toString
- Overrides:
toStringin classSQLObjectImpl
-
accept0
- Overrides:
accept0in classSQLMethodInvokeExpr
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLMethodInvokeExpr
-
getFilter
-
setFilter
-
equals
- Overrides:
equalsin classSQLMethodInvokeExpr
-
hashCode
public int hashCode()- Overrides:
hashCodein classSQLMethodInvokeExpr
-
clone
-
computeDataType
- Specified by:
computeDataTypein interfaceSQLExpr- Overrides:
computeDataTypein classSQLMethodInvokeExpr
-
replace
- Specified by:
replacein interfaceSQLReplaceable- Overrides:
replacein classSQLMethodInvokeExpr
-