|
|||||||||||
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.BinaryExpression
Expression for binary object.
Nested Class Summary |
Nested classes 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 | |
protected |
BinaryExpression(QueryExpression qs)
Constructor |
|
BinaryExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
|
|
BinaryExpression(ScalarExpression operand1,
ScalarExpression.DyadicOperator op,
ScalarExpression operand2)
Performs a function on two binary expressions. |
|
BinaryExpression(java.lang.String functionName,
java.util.List args)
Generates statement as e.g. |
Method Summary | |
ScalarExpression |
add(ScalarExpression expr)
Additive Operator. |
BooleanExpression |
eq(ScalarExpression expr)
Equality operator (equals to) |
BooleanExpression |
gt(ScalarExpression expr)
Relational operator (greater than) |
BooleanExpression |
gteq(ScalarExpression expr)
Relational operator (greater than or equals) |
BooleanExpression |
in(ScalarExpression expr)
In expression. |
BooleanExpression |
lt(ScalarExpression expr)
Relational operator (lower than) |
BooleanExpression |
lteq(ScalarExpression expr)
Relational operator (lower than or equals) |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
accessField, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, instanceOf, ior, mod, mul, neg, not, sub, toStatementText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected BinaryExpression(QueryExpression qs)
qs
- the QueryExpressionpublic BinaryExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te)
qs
- the QueryExpressionmapping
- the mapping associated to this expressionte
- the TableExpression where this expression refers topublic BinaryExpression(java.lang.String functionName, java.util.List args)
functionName
- args
- ScalarExpression listpublic BinaryExpression(ScalarExpression operand1, ScalarExpression.DyadicOperator op, ScalarExpression operand2)
operand1
- the first expressionop
- the operator between operandsoperand2
- the second expressionMethod Detail |
public BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression lt(ScalarExpression expr)
ScalarExpression
lt
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression lteq(ScalarExpression expr)
ScalarExpression
lteq
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression gt(ScalarExpression expr)
ScalarExpression
gt
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression gteq(ScalarExpression expr)
ScalarExpression
gteq
in class ScalarExpression
expr
- the right-hand operand
public ScalarExpression add(ScalarExpression expr)
ScalarExpression
add
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression in(ScalarExpression expr)
ScalarExpression
expr
in
in class ScalarExpression
expr
- the right-hand expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |