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
Modifier and TypeFieldDescriptionprotected SQLExpr
protected SQLExpr
protected String
protected long
protected SQLExpr
protected SQLDataType
protected String
protected SQLExpr
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorDescriptionSQLMethodInvokeExpr
(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 void
accept0
(OracleASTVisitor visitor) protected void
accept0
(SQLASTVisitor visitor) void
addArgument
(SQLExpr arg) void
addParameter
(SQLExpr param) Deprecated.clone()
void
boolean
getFor()
getFrom()
getOwner()
Deprecated.getUsing()
int
hashCode()
boolean
long
void
output
(Appendable buf) boolean
void
setArgument
(int i, SQLExpr arg) void
void
void
setMethodName
(String methodName) void
void
setResolvedReturnDataType
(SQLDataType resolvedReturnDataType) void
setTrimOption
(String trimOption) void
Methods 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, toString
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, 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:
output
in interfaceSQLObject
- Overrides:
output
in classSQLObjectImpl
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
getChildren
- Specified by:
getChildren
in interfaceSQLExpr
- Overrides:
getChildren
in classSQLExprImpl
-
accept0
-
equals
- Specified by:
equals
in classSQLExprImpl
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSQLExprImpl
-
clone
-
cloneTo
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
-
match
-
computeDataType
- Specified by:
computeDataType
in interfaceSQLExpr
- Overrides:
computeDataType
in classSQLExprImpl
-
getUsing
-
setUsing
-
getFor
-
setFor
-
getTrimOption
-
setTrimOption
-
getResolvedReturnDataType
-
setResolvedReturnDataType
-