Package com.alibaba.druid.sql.ast.expr
Class SQLMethodInvokeExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr
- All Implemented Interfaces:
SQLExpr,SQLObject,SQLReplaceable,Serializable,Cloneable
- Direct Known Subclasses:
OdpsNewExpr,SQLAggregateExpr
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SQLExprprotected SQLExprprotected Stringprotected longprotected SQLExprprotected SQLDataTypeprotected Stringprotected SQLExprFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLMethodInvokeExpr(String methodName) SQLMethodInvokeExpr(String methodName, long methodNameHashCode64) SQLMethodInvokeExpr(String methodName, SQLExpr owner) SQLMethodInvokeExpr(String methodName, SQLExpr owner, SQLExpr... params) SQLMethodInvokeExpr(String methodName, SQLExpr owner, List<SQLExpr> params) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(OracleASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) voidaddArgument(SQLExpr arg) voidaddParameter(SQLExpr param) Deprecated.clone()voidbooleangetFor()getFrom()getOwner()Deprecated.getUsing()inthashCode()booleanlongvoidoutput(Appendable buf) booleanvoidsetArgument(int i, SQLExpr arg) voidvoidvoidsetMethodName(String methodName) voidvoidsetResolvedReturnDataType(SQLDataType resolvedReturnDataType) voidsetTrimOption(String trimOption) voidMethods 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, 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
-
arguments
-
methodName
-
methodNameHashCode64
protected long methodNameHashCode64 -
owner
-
from
-
using
-
hasFor
-
trimOption
-
resolvedReturnDataType
-
-
Constructor Details
-
SQLMethodInvokeExpr
public SQLMethodInvokeExpr() -
SQLMethodInvokeExpr
-
SQLMethodInvokeExpr
-
SQLMethodInvokeExpr
-
SQLMethodInvokeExpr
-
SQLMethodInvokeExpr
-
-
Method Details
-
methodNameHashCode64
public long methodNameHashCode64() -
getMethodName
-
setMethodName
-
getParameters
Deprecated.instead of getArguments -
getArguments
-
setArgument
-
addParameter
Deprecated.deprecated, instead of addArgument -
addArgument
-
getOwner
-
setOwner
-
getFrom
-
setFrom
-
output
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLObjectImpl
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLExprImpl
-
accept0
-
equals
- Specified by:
equalsin classSQLExprImpl
-
hashCode
public int hashCode()- Specified by:
hashCodein classSQLExprImpl
-
clone
-
cloneTo
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
match
-
computeDataType
- Specified by:
computeDataTypein interfaceSQLExpr- Overrides:
computeDataTypein classSQLExprImpl
-
getUsing
-
setUsing
-
getFor
-
setFor
-
getTrimOption
-
setTrimOption
-
getResolvedReturnDataType
-
setResolvedReturnDataType
-