|
|||||||||||
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.ArrayExpression
Representation of array expression. Either backed by ScalarExpressions, or by an array field
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 |
ArrayExpression(QueryExpression qs)
Constructor |
|
ArrayExpression(QueryExpression qs,
JavaTypeMapping ownerMapping,
LogicSetExpression te,
ArrayStore arrayStore,
java.lang.String fieldName)
Constructor. |
|
ArrayExpression(QueryExpression qs,
ScalarExpression[] expr)
Constructor |
Method Summary | |
ScalarExpression |
accessField(java.lang.String subfieldName,
boolean innerJoin)
Access a field in an array |
BooleanExpression |
containsMethod(ScalarExpression expr)
Executed when the contains() method is found in a query filter. |
NumericExpression |
lengthMethod()
Executed when the length() method is found in a query filter. |
NumericExpression |
sizeMethod()
Executed when the size() method is found in a query filter. |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
add, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, eq, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, noteq, sub, toStatementText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected ArrayExpression(QueryExpression qs)
qs
- The query statementpublic ArrayExpression(QueryExpression qs, ScalarExpression[] expr)
qs
- The query statementexpr
- the array of expressionspublic ArrayExpression(QueryExpression qs, JavaTypeMapping ownerMapping, LogicSetExpression te, ArrayStore arrayStore, java.lang.String fieldName)
qs
- The Query StatementownerMapping
- The mapping to the owner of this collectionte
- The Table ExpressionarrayStore
- the backing store.fieldName
- Name of the field for the collection.Method Detail |
public NumericExpression sizeMethod()
public NumericExpression lengthMethod()
public ScalarExpression accessField(java.lang.String subfieldName, boolean innerJoin)
accessField
in class ScalarExpression
subfieldName
- the field to be accessed in this objectinnerJoin
- whether to inner join
public BooleanExpression containsMethod(ScalarExpression expr)
expr
- The ScalarExpression passed as a parameter to contains().
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |