public class SQLIntegerExpr extends SQLNumericLiteralExpr implements SQLValuableExpr, Comparable<SQLIntegerExpr>
| Modifier and Type | Field and Description |
|---|---|
static SQLDataType |
DATA_TYPE |
| Constructor and Description |
|---|
SQLIntegerExpr() |
SQLIntegerExpr(Number number) |
SQLIntegerExpr(Number number,
SQLObject parent) |
| Modifier and Type | Method and Description |
|---|---|
static SQLIntegerExpr |
add(long a,
long b) |
SQLIntegerExpr |
clone() |
int |
compareTo(SQLIntegerExpr o) |
SQLDataType |
computeDataType() |
void |
decrement() |
boolean |
equals(Object obj) |
Number |
getNumber() |
String |
getType() |
Object |
getValue() |
static SQLIntegerExpr |
greatst(SQLIntegerExpr a,
SQLIntegerExpr b) |
int |
hashCode() |
static boolean |
isZero(SQLExpr expr) |
static SQLIntegerExpr |
least(SQLIntegerExpr a,
SQLIntegerExpr b) |
static SQLIntegerExpr |
ofIntOrLong(long value) |
void |
output(Appendable buf) |
void |
setNumber(Number number) |
void |
setType(String type) |
static SQLIntegerExpr |
substract(SQLIntegerExpr a,
SQLIntegerExpr b) |
getChildrenaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringgetChildren, getHintaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic static final SQLDataType DATA_TYPE
public SQLIntegerExpr(Number number)
public SQLIntegerExpr()
public Number getNumber()
getNumber in class SQLNumericLiteralExprpublic void setNumber(Number number)
setNumber in class SQLNumericLiteralExprpublic void output(Appendable buf)
output in interface SQLObjectoutput in class SQLObjectImplpublic String getType()
public void setType(String type)
public int hashCode()
hashCode in class SQLExprImplpublic boolean equals(Object obj)
equals in class SQLExprImplpublic Object getValue()
getValue in interface SQLValuableExprpublic SQLIntegerExpr clone()
clone in interface SQLLiteralExprclone in interface SQLExprclone in interface SQLObjectclone in class SQLNumericLiteralExprpublic SQLDataType computeDataType()
computeDataType in interface SQLExprcomputeDataType in class SQLExprImplpublic void decrement()
public static boolean isZero(SQLExpr expr)
public static SQLIntegerExpr substract(SQLIntegerExpr a, SQLIntegerExpr b)
public static SQLIntegerExpr least(SQLIntegerExpr a, SQLIntegerExpr b)
public static SQLIntegerExpr greatst(SQLIntegerExpr a, SQLIntegerExpr b)
public static SQLIntegerExpr ofIntOrLong(long value)
public static SQLIntegerExpr add(long a, long b)
public int compareTo(SQLIntegerExpr o)
compareTo in interface Comparable<SQLIntegerExpr>Copyright © 2013–2020 Alibaba Group. All rights reserved.