|
|||||||||||
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
org.jpox.store.expression.BooleanCharColumnExpression
Representation of a BooleanChar column expression.
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 | |
BooleanCharColumnExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
Constructor. |
|
BooleanCharColumnExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te,
boolean truthTest)
Constructor. |
Method Summary | |
BooleanExpression |
eq(ScalarExpression expr)
Equality operator (equals to) |
BooleanExpression |
in(ScalarExpression expr)
In expression. |
BooleanExpression |
not()
Logical complement |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
StatementText |
toStatementText(int mode)
StatementText representation of this expression. |
Methods inherited from class org.jpox.store.expression.BooleanExpression |
and, eor, ior, neg |
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, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BooleanCharColumnExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te)
qs
- the QueryExpressionmapping
- the mapping associated to this expressionte
- the TableExpression where this expression refers topublic BooleanCharColumnExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te, boolean truthTest)
qs
- the QueryExpressionmapping
- the mapping associated to this expressionte
- the TableExpression where this expression refers totruthTest
- true for positive ("this = 1"), 0 for negative ("this = 0")Method Detail |
public BooleanExpression not()
ScalarExpression
not
in class BooleanExpression
public BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq
in class BooleanExpression
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq
in class BooleanExpression
public BooleanExpression in(ScalarExpression expr)
ScalarExpression
expr
in
in class BooleanExpression
public StatementText toStatementText(int mode)
ScalarExpression
toStatementText
in class ScalarExpression
mode
- (0=PROJECTION;1=FILTER)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |