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
Nested Classes -
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLSizeExpr(SQLExpr value, SQLSizeExpr.Unit unit) SQLSizeExpr(String value, char unit) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) clone()booleangetUnit()getValue()inthashCode()voidsetUnit(SQLSizeExpr.Unit unit) voidMethods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
computeDataType, isParenthesized, setParenthesizedMethods 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
-
Constructor Details
-
SQLSizeExpr
public SQLSizeExpr() -
SQLSizeExpr
-
SQLSizeExpr
-
-
Method Details
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLExprImpl
-
getValue
-
setValue
-
getUnit
-
setUnit
-
clone
-
equals
- Specified by:
equalsin classSQLExprImpl
-
hashCode
public int hashCode()- Specified by:
hashCodein classSQLExprImpl
-