public class SQLNumberExpr extends SQLNumericLiteralExpr implements SQLValuableExpr
Modifier and Type | Field and Description |
---|---|
static SQLDataType |
defaultDataType |
Constructor and Description |
---|
SQLNumberExpr() |
SQLNumberExpr(char[] chars) |
SQLNumberExpr(Number number) |
Modifier and Type | Method and Description |
---|---|
SQLNumberExpr |
clone() |
SQLDataType |
computeDataType() |
boolean |
equals(Object obj) |
Number |
getNumber() |
Number |
getValue() |
int |
hashCode() |
void |
output(StringBuffer buf) |
void |
output(StringBuilder buf) |
void |
setNumber(Number number) |
getChildren
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent, toString
getChildren
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public static final SQLDataType defaultDataType
public SQLNumberExpr()
public SQLNumberExpr(Number number)
public SQLNumberExpr(char[] chars)
public Number getNumber()
getNumber
in class SQLNumericLiteralExpr
public Number getValue()
getValue
in interface SQLValuableExpr
public void setNumber(Number number)
setNumber
in class SQLNumericLiteralExpr
public void output(StringBuilder buf)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
public int hashCode()
hashCode
in class SQLExprImpl
public boolean equals(Object obj)
equals
in class SQLExprImpl
public SQLNumberExpr clone()
clone
in interface SQLLiteralExpr
clone
in interface SQLExpr
clone
in interface SQLObject
clone
in class SQLNumericLiteralExpr
public SQLDataType computeDataType()
computeDataType
in interface SQLExpr
computeDataType
in class SQLExprImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.