Package com.alibaba.druid.sql.ast.expr
Class SQLSizeExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLSizeExpr
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorDescriptionSQLSizeExpr
(SQLExpr value, SQLSizeExpr.Unit unit) SQLSizeExpr
(String value, char unit) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(SQLASTVisitor visitor) clone()
boolean
getUnit()
getValue()
int
hashCode()
void
setUnit
(SQLSizeExpr.Unit unit) void
Methods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
computeDataType
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, 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, output, putAttribute, setParent
-
Constructor Details
-
SQLSizeExpr
public SQLSizeExpr() -
SQLSizeExpr
-
SQLSizeExpr
-
-
Method Details
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
getChildren
- Specified by:
getChildren
in interfaceSQLExpr
- Overrides:
getChildren
in classSQLExprImpl
-
getValue
-
setValue
-
getUnit
-
setUnit
-
clone
-
equals
- Specified by:
equals
in classSQLExprImpl
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSQLExprImpl
-