|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.expression.ScalarExpression
org.jpox.store.expression.NumericExpression
org.jpox.store.expression.FloatingPointLiteral
public class FloatingPointLiteral
Representation of a FloatPoint literal in a query.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jpox.store.expression.ScalarExpression |
---|
ScalarExpression.DyadicOperator, ScalarExpression.ExpressionList, ScalarExpression.FieldExpression, ScalarExpression.IllegalArgumentTypeException, ScalarExpression.IllegalOperationException, ScalarExpression.MethodInvocationException, ScalarExpression.MonadicOperator, ScalarExpression.Operator |
Field Summary |
---|
Fields inherited from class org.jpox.store.expression.ScalarExpression |
---|
aliasIdentifier, expressionList, FILTER, LOCALISER, lowestOperator, mapping, OP_ADD, OP_AND, OP_BETWEEN, OP_COM, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MOD, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_OR, OP_SUB, PROJECTION, qs, st, te |
Constructor Summary | |
---|---|
FloatingPointLiteral(QueryExpression qs,
java.math.BigDecimal value)
Creates a floating point literal |
|
FloatingPointLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.lang.Double value)
Creates a floating point literal |
|
FloatingPointLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.lang.Float value)
Creates a floating point literal |
Method Summary | |
---|---|
ScalarExpression |
add(ScalarExpression expr)
Additive Operator. |
ScalarExpression |
div(ScalarExpression expr)
Division Operator. |
BooleanExpression |
eq(ScalarExpression expr)
Equality operator (equals to) |
java.lang.Object |
getValue()
Accessor to the literal value |
BooleanExpression |
gt(ScalarExpression expr)
Relational operator (greater than) |
BooleanExpression |
gteq(ScalarExpression expr)
Relational operator (greater than or equals) |
BooleanExpression |
lt(ScalarExpression expr)
Relational operator (lower than) |
BooleanExpression |
lteq(ScalarExpression expr)
Relational operator (lower than or equals) |
ScalarExpression |
mul(ScalarExpression expr)
Multiplication Operator |
ScalarExpression |
neg()
Unary Minus Operator |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
ScalarExpression |
sub(ScalarExpression expr)
Additive Operator. |
Methods inherited from class org.jpox.store.expression.NumericExpression |
---|
com, in, mod |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
---|
accessField, and, as, callMethod, cast, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, instanceOf, ior, not, toStatementText, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FloatingPointLiteral(QueryExpression qs, JavaTypeMapping mapping, java.lang.Float value)
qs
- the QueryExpressionmapping
- the mappingvalue
- the floating point valuepublic FloatingPointLiteral(QueryExpression qs, JavaTypeMapping mapping, java.lang.Double value)
qs
- the QueryExpressionmapping
- the mappingvalue
- the floating point valuepublic FloatingPointLiteral(QueryExpression qs, java.math.BigDecimal value)
qs
- the QueryExpressionvalue
- the floating point valueMethod Detail |
---|
public java.lang.Object getValue()
Literal
getValue
in interface Literal
public BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq
in class NumericExpression
expr
- the right-hand operand
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq
in class NumericExpression
expr
- the right-hand operand
public BooleanExpression lt(ScalarExpression expr)
ScalarExpression
lt
in class NumericExpression
expr
- the right-hand operand
public BooleanExpression lteq(ScalarExpression expr)
ScalarExpression
lteq
in class NumericExpression
expr
- the right-hand operand
public BooleanExpression gt(ScalarExpression expr)
ScalarExpression
gt
in class NumericExpression
expr
- the right-hand operand
public BooleanExpression gteq(ScalarExpression expr)
ScalarExpression
gteq
in class NumericExpression
expr
- the right-hand operand
public ScalarExpression add(ScalarExpression expr)
ScalarExpression
add
in class NumericExpression
expr
- the right-hand operand
public ScalarExpression sub(ScalarExpression expr)
ScalarExpression
sub
in class NumericExpression
expr
- the right-hand operand
public ScalarExpression mul(ScalarExpression expr)
ScalarExpression
mul
in class NumericExpression
expr
- the right-hand operator
public ScalarExpression div(ScalarExpression expr)
ScalarExpression
div
in class NumericExpression
expr
- the right-hand operator
public ScalarExpression neg()
ScalarExpression
neg
in class NumericExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |