Class MySqlOrderingExpr
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlOrderingExpr
-
- All Implemented Interfaces:
SQLExpr,SQLObject,SQLReplaceable,MySqlExpr,MySqlObject,Cloneable
public class MySqlOrderingExpr extends MySqlExprImpl implements MySqlExpr, SQLReplaceable
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExprexprprotected SQLOrderingSpecificationtype-
Fields inherited from class com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
hint
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description MySqlOrderingExpr()MySqlOrderingExpr(SQLExpr expr, SQLOrderingSpecification type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor mysqlVisitor)MySqlOrderingExprclone()booleanequals(Object obj)ListgetChildren()SQLExprgetExpr()SQLOrderingSpecificationgetType()inthashCode()booleanreplace(SQLExpr expr, SQLExpr target)voidsetExpr(SQLExpr expr)voidsetType(SQLOrderingSpecification type)-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
getHint, setHint
-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
accept0
-
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, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource, 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.SQLExpr
computeDataType, getHint
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Field Detail
-
expr
protected SQLExpr expr
-
type
protected SQLOrderingSpecification type
-
-
Constructor Detail
-
MySqlOrderingExpr
public MySqlOrderingExpr()
-
MySqlOrderingExpr
public MySqlOrderingExpr(SQLExpr expr, SQLOrderingSpecification type)
-
-
Method Detail
-
clone
public MySqlOrderingExpr clone()
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
accept0
public void accept0(MySqlASTVisitor mysqlVisitor)
- Specified by:
accept0in interfaceMySqlObject- Specified by:
accept0in classMySqlObjectImpl
-
getChildren
public List getChildren()
- Specified by:
getChildrenin interfaceSQLExpr
-
getExpr
public SQLExpr getExpr()
-
setExpr
public void setExpr(SQLExpr expr)
-
getType
public SQLOrderingSpecification getType()
-
setType
public void setType(SQLOrderingSpecification type)
-
-