org.jpox.store.expression
Class ConcatOperatorExpression

java.lang.Object
  extended byorg.jpox.store.expression.ScalarExpression
      extended byorg.jpox.store.expression.StringExpression
          extended byorg.jpox.store.expression.ConcatOperatorExpression

public class ConcatOperatorExpression
extends StringExpression

Concatenate two expressions. This implements the SQL standard concatenation operator. e.g. EXPR1 || EXPR2

Version:
$Revision: 1.8 $

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
ConcatOperatorExpression(ScalarExpression operand1, ScalarExpression operand2)
          Performs a concatenation on two operands.
 
Methods inherited from class org.jpox.store.expression.StringExpression
add, charAtMethod, endsWithMethod, eq, equalsMethod, gt, gteq, in, indexOfMethod, indexOfMethod, lengthMethod, lt, lteq, matchesMethod, noteq, startsWithMethod, startsWithMethod, substringMethod, substringMethod, toLowerCaseMethod, toUpperCaseMethod, trimMethod
 
Methods inherited from class org.jpox.store.expression.ScalarExpression
accessField, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, instanceOf, ior, mod, mul, neg, not, sub, toStatementText, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcatOperatorExpression

public ConcatOperatorExpression(ScalarExpression operand1,
                                ScalarExpression operand2)
Performs a concatenation on two operands. op(operand1,operand2) operand1 op operand2

Parameters:
operand1 - the left-hand expression
operand2 - the right-hand expression


Copyright © -2007 . All Rights Reserved.