public class SQLDecimalExpr extends SQLNumericLiteralExpr implements SQLValuableExpr, Comparable<SQLDecimalExpr>
| Modifier and Type | Field and Description |
|---|---|
static SQLDataType |
DATA_TYPE |
| Constructor and Description |
|---|
SQLDecimalExpr() |
SQLDecimalExpr(BigDecimal value) |
SQLDecimalExpr(String value) |
| Modifier and Type | Method and Description |
|---|---|
SQLDecimalExpr |
clone() |
int |
compareTo(SQLDecimalExpr o) |
boolean |
equals(Object obj) |
List<SQLObject> |
getChildren() |
String |
getLiteral() |
Number |
getNumber() |
BigDecimal |
getValue() |
int |
hashCode() |
void |
setNumber(Number number) |
void |
setValue(BigDecimal value) |
computeDataTypeaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringcomputeDataType, getHintaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic static final SQLDataType DATA_TYPE
public SQLDecimalExpr()
public SQLDecimalExpr(BigDecimal value)
public SQLDecimalExpr(String value)
public String getLiteral()
public SQLDecimalExpr clone()
clone in interface SQLLiteralExprclone in interface SQLExprclone in interface SQLObjectclone in class SQLNumericLiteralExprpublic List<SQLObject> getChildren()
getChildren in interface SQLExprgetChildren in class SQLNumericLiteralExprpublic Number getNumber()
getNumber in class SQLNumericLiteralExprpublic BigDecimal getValue()
getValue in interface SQLValuableExprpublic void setValue(BigDecimal value)
public int hashCode()
hashCode in class SQLExprImplpublic boolean equals(Object obj)
equals in class SQLExprImplpublic void setNumber(Number number)
setNumber in class SQLNumericLiteralExprpublic int compareTo(SQLDecimalExpr o)
compareTo in interface Comparable<SQLDecimalExpr>Copyright © 2013–2020 Alibaba Group. All rights reserved.