|
|||||||||||
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.BooleanExpression
Representation of a Boolean expression in a Query.
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 |
BooleanExpression(QueryExpression qs)
Constructor |
|
BooleanExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
|
|
BooleanExpression(ScalarExpression.MonadicOperator op,
ScalarExpression operand)
Perform a boolean operator op on a operand operand |
|
BooleanExpression(ScalarExpression operand1,
ScalarExpression.DyadicOperator op,
ScalarExpression operand2)
Perform a boolean operator op between two operands operand1 and operand2 |
Method Summary | |
BooleanExpression |
and(ScalarExpression expr)
Conditional And. |
BooleanExpression |
eor(ScalarExpression expr)
Exclusive OR |
BooleanExpression |
eq(ScalarExpression expr)
Equality operator (equals to) |
BooleanExpression |
in(ScalarExpression expr)
In expression. |
BooleanExpression |
ior(ScalarExpression expr)
Conditional OR. |
ScalarExpression |
neg()
Unary Minus Operator |
BooleanExpression |
not()
Logical complement |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
accessField, add, as, callMethod, cast, com, div, encloseWithInParentheses, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, instanceOf, lt, lteq, mod, mul, sub, toStatementText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected BooleanExpression(QueryExpression qs)
qs
- the QueryExpressionpublic BooleanExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te)
qs
- the QueryExpressionmapping
- the mapping associated to this expressionte
- the TableExpression where this expression refers topublic BooleanExpression(ScalarExpression.MonadicOperator op, ScalarExpression operand)
op
on a operand operand
op
- the operatoroperand
- the operandpublic BooleanExpression(ScalarExpression operand1, ScalarExpression.DyadicOperator op, ScalarExpression operand2)
op
between two operands operand1
and operand2
op
- the operatoroperand1
- the operandoperand2
- the operandMethod Detail |
public BooleanExpression and(ScalarExpression expr)
ScalarExpression
and
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression eor(ScalarExpression expr)
ScalarExpression
eor
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression ior(ScalarExpression expr)
ScalarExpression
ior
in class ScalarExpression
expr
- the right-hand operand
public BooleanExpression not()
ScalarExpression
not
in class ScalarExpression
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 in(ScalarExpression expr)
ScalarExpression
expr
in
in class ScalarExpression
expr
- the right-hand expression
public ScalarExpression neg()
ScalarExpression
neg
in class ScalarExpression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |