public class SQLIntegerExpr extends SQLNumericLiteralExpr implements SQLValuableExpr, Comparable<SQLIntegerExpr>
| 限定符和类型 | 字段和说明 |
|---|---|
static SQLDataType |
DATA_TYPE |
attributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLIntegerExpr() |
SQLIntegerExpr(Number number) |
SQLIntegerExpr(Number number,
SQLObject parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
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, acceptChild, acceptChild, 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 在类中 SQLNumericLiteralExprpublic void setNumber(Number number)
setNumber 在类中 SQLNumericLiteralExprpublic void output(Appendable buf)
output 在接口中 SQLObjectoutput 在类中 SQLObjectImplprotected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic String getType()
public void setType(String type)
public int hashCode()
hashCode 在类中 SQLExprImplpublic boolean equals(Object obj)
equals 在类中 SQLExprImplpublic Object getValue()
getValue 在接口中 SQLValuableExprpublic SQLIntegerExpr clone()
clone 在接口中 SQLLiteralExprclone 在接口中 SQLExprclone 在接口中 SQLObjectclone 在类中 SQLNumericLiteralExprpublic SQLDataType computeDataType()
computeDataType 在接口中 SQLExprcomputeDataType 在类中 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 在接口中 Comparable<SQLIntegerExpr>Copyright © 2013–2023. All rights reserved.