|
|||||||||||
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.CharacterExpression
Representation of a Character 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 |
CharacterExpression(QueryExpression qs)
Constructor |
|
CharacterExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
|
|
CharacterExpression(java.lang.String functionName,
java.util.List args)
Generates statement as e.g. |
Method Summary | |
ScalarExpression |
add(ScalarExpression expr)
Additive Operator. |
ScalarExpression |
com()
Bitwise Complement Operator |
ScalarExpression |
div(ScalarExpression expr)
Division 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) |
ScalarExpression |
mod(ScalarExpression expr)
Method to return a modulus expression. |
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. |
CharacterExpression |
toLowerCaseMethod()
Converts the Character Expression to lower case |
CharacterExpression |
toUpperCaseMethod()
Converts the Character Expression to upper case |
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 |
protected CharacterExpression(QueryExpression qs)
qs
- the QueryExpressionpublic CharacterExpression(QueryExpression qs, JavaTypeMapping mapping, LogicSetExpression te)
qs
- the QueryExpressionmapping
- the mapping associated to this expressionte
- the TableExpression where this expression refers topublic CharacterExpression(java.lang.String functionName, java.util.List args)
functionName
- args
- ScalarExpression listMethod 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 ScalarExpression sub(ScalarExpression expr)
ScalarExpression
sub
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 CharacterExpression toLowerCaseMethod()
public CharacterExpression toUpperCaseMethod()
public ScalarExpression mul(ScalarExpression expr)
ScalarExpression
mul
in class ScalarExpression
expr
- the right-hand operator
public ScalarExpression div(ScalarExpression expr)
ScalarExpression
div
in class ScalarExpression
expr
- the right-hand operator
public ScalarExpression mod(ScalarExpression expr)
mod
in class ScalarExpression
expr
- The expression to modulus against
public ScalarExpression neg()
ScalarExpression
neg
in class ScalarExpression
public ScalarExpression com()
ScalarExpression
com
in class ScalarExpression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |