|
||||||||||
| 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.ByteExpression
public class ByteExpression
Representation of a Byte expression 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 | |
|---|---|
protected |
ByteExpression(QueryExpression qs)
Constructor |
|
ByteExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
|
|
ByteExpression(ScalarExpression.MonadicOperator op,
ScalarExpression operand)
Perform a function op on operand |
|
ByteExpression(ScalarExpression operand1,
ScalarExpression.DyadicOperator op,
ScalarExpression operand2)
Performs a function on two arguments. |
| Method Summary | |
|---|---|
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 |
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.NumericExpression |
|---|
add, com, div, in, mod, mul, neg, sub |
| 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 ByteExpression(QueryExpression qs)
qs - the QueryExpression
public ByteExpression(QueryExpression qs,
JavaTypeMapping mapping,
LogicSetExpression te)
qs - the QueryExpressionmapping - the mapping associated to this expressionte - the TableExpression where this expression refers to
public ByteExpression(ScalarExpression.MonadicOperator op,
ScalarExpression operand)
op on operand
op - operatoroperand - operand
public ByteExpression(ScalarExpression operand1,
ScalarExpression.DyadicOperator op,
ScalarExpression operand2)
operand1 - the first expressionop - the operator between operandsoperand2 - the second expression| Method Detail |
|---|
public BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression lt(ScalarExpression expr)
ScalarExpression
lt in class NumericExpressionexpr - the right-hand operand
public BooleanExpression lteq(ScalarExpression expr)
ScalarExpression
lteq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression gt(ScalarExpression expr)
ScalarExpression
gt in class NumericExpressionexpr - the right-hand operand
public BooleanExpression gteq(ScalarExpression expr)
ScalarExpression
gteq in class NumericExpressionexpr - the right-hand operand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||