Package com.alibaba.druid.sql.ast
Class SQLArgument
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLArgument
-
- All Implemented Interfaces:
SQLObject
public class SQLArgument extends SQLObjectImpl
Created by wenshao on 29/05/2017.
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLArgument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLArgumentclone()SQLExprgetExpr()SQLParameter.ParameterTypegetType()voidsetExpr(SQLExpr x)voidsetType(SQLParameter.ParameterType type)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public SQLArgument clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
getType
public SQLParameter.ParameterType getType()
-
getExpr
public SQLExpr getExpr()
-
setType
public void setType(SQLParameter.ParameterType type)
-
setExpr
public void setExpr(SQLExpr x)
-
-