|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.triactive.jdo.store.sql.expr.AbstractSqlExpression com.triactive.jdo.store.sql.expr.NumericExpression com.triactive.jdo.store.sql.expr.NumericLiteral com.triactive.jdo.store.sql.expr.IntegerLiteral
Nested Class Summary |
Nested classes inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
AbstractSqlExpression.Body, AbstractSqlExpression.CompoundExpression, AbstractSqlExpression.SimpleColumnReference, AbstractSqlExpression.SubqueryExpression |
Field Summary | |
protected java.lang.Number |
value
|
Fields inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
body, qs |
Constructor Summary | |
IntegerLiteral(QueryStatement qs,
int value)
|
|
IntegerLiteral(QueryStatement qs,
java.lang.Number value)
|
Method Summary | |
SqlExpression |
add(SqlExpression expr)
|
java.math.BigDecimal |
decimalValue()
Returns the value of the literal as a BigDecimal. |
SqlExpression |
div(SqlExpression expr)
|
double |
doubleValue()
Returns the value of the literal as a Java double. |
BooleanExpression |
eq(SqlExpression expr)
|
BooleanExpression |
gt(SqlExpression expr)
|
BooleanExpression |
gteq(SqlExpression expr)
|
java.math.BigInteger |
integerValue()
|
BooleanExpression |
lt(SqlExpression expr)
|
BooleanExpression |
lteq(SqlExpression expr)
|
SqlExpression |
mod(SqlExpression expr)
|
SqlExpression |
mul(SqlExpression expr)
|
SqlExpression |
neg()
Returns a new expression representing "-this". |
BooleanExpression |
noteq(SqlExpression expr)
|
SqlExpression |
sub(SqlExpression expr)
|
StatementText |
toStatementText()
Returns the SQL statement text which this object generates. |
Methods inherited from class com.triactive.jdo.store.sql.expr.NumericExpression |
cast |
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
accessField, and, callMethod, com, eor, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, innermostQuery, innermostQuery, ior, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, select, setMapping, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final java.lang.Number value
Constructor Detail |
public IntegerLiteral(QueryStatement qs, int value)
public IntegerLiteral(QueryStatement qs, java.lang.Number value)
Method Detail |
public java.math.BigDecimal decimalValue()
com.triactive.jdo.store.sql.expr.NumericLiteral
public java.math.BigInteger integerValue()
public SqlExpression add(SqlExpression expr)
com.triactive.jdo.store.sql.expr.NumericLiteral
public SqlExpression sub(SqlExpression expr)
com.triactive.jdo.store.sql.expr.NumericLiteral
public SqlExpression mul(SqlExpression expr)
com.triactive.jdo.store.sql.expr.NumericLiteral
public SqlExpression mod(SqlExpression expr)
com.triactive.jdo.store.sql.expr.NumericLiteral
public SqlExpression neg()
SqlExpression
neg
in interface SqlExpression
neg
in class NumericExpression
public double doubleValue()
public BooleanExpression eq(SqlExpression expr)
eq
in interface SqlExpression
eq
in class NumericExpression
public BooleanExpression noteq(SqlExpression expr)
noteq
in interface SqlExpression
noteq
in class NumericExpression
public BooleanExpression lt(SqlExpression expr)
lt
in interface SqlExpression
lt
in class NumericExpression
public BooleanExpression lteq(SqlExpression expr)
lteq
in interface SqlExpression
lteq
in class NumericExpression
public BooleanExpression gt(SqlExpression expr)
gt
in interface SqlExpression
gt
in class NumericExpression
public BooleanExpression gteq(SqlExpression expr)
gteq
in interface SqlExpression
gteq
in class NumericExpression
public SqlExpression div(SqlExpression expr)
div
in interface SqlExpression
div
in class NumericExpression
public StatementText toStatementText()
StatementTextGenerator
toStatementText
in interface StatementTextGenerator
toStatementText
in class AbstractSqlExpression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |