|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that allows one datastore adapt expression and operators
Method Summary | |
ScalarExpression |
concatOperator(ScalarExpression operand1,
ScalarExpression operand2)
If only one operand expression is of type String, then string conversion is performed on the other operand to produce a string at run time. |
java.lang.String |
getOperatorConcat()
An operator in a string expression that concatenates two or more character or binary strings, columns, or a combination of strings and column names into one expression (a string operator). |
NumericExpression |
modOperator(ScalarExpression operand1,
ScalarExpression operand2)
Method to generate a modulus expression. |
Method Detail |
public NumericExpression modOperator(ScalarExpression operand1, ScalarExpression operand2)
operand1
- the left expressionoperand2
- the right expression
public ScalarExpression concatOperator(ScalarExpression operand1, ScalarExpression operand2)
If only one operand expression is of type String, then string conversion is performed on the other operand to produce a string at run time. The result is a reference to a String object (newly created, unless the expression is a compile-time constant expression (§15.28))that is the concatenation of the two operand strings. The characters of the left-hand operand precede the characters of the right-hand operand in the newly created string. If an operand of type String is null, then the string "null" is used instead of that operand. "null" is used instead of that operand.
Concatenates two or more character or binary strings, columns, or a combination of strings and column names into one expression (a string operator).
operand1
- the left expressionoperand2
- the right expression
public java.lang.String getOperatorConcat()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |