'Hello' || 'World', binary
string concatenation as in X'01' || X'AB' or an array concatenation
as in ARRAY[1, 2] || 3.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private long | |
| public StringBuilder | getUnenclosedSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements abstract org. Get the SQL statement of this expression. |
| public Value | getValue(SessionLocal
the session session)Implements abstract org. Return the resulting value for the current row. |
| private Value | |
| private Value | |
| private void | |
| private static boolean | |
| public boolean | needParentheses()
Overrides org. Returns whether this expressions needs to be wrapped in parentheses when it is used as an argument of other expressions. |
| public Expression | optimize(SessionLocal
the session session)Implements abstract org. Try to optimize the expression. |
| ConcatenationOperation | back to summary |
|---|---|
| public ConcatenationOperation() | |
| ConcatenationOperation | back to summary |
|---|---|
| public ConcatenationOperation(Expression op1, Expression op2) | |
| determineType | back to summary |
|---|---|
| private void determineType(SessionLocal session) | |
| getPrecision | back to summary |
|---|---|
| private long getPrecision(int i) | |
| getUnenclosedSQL | back to summary |
|---|---|
| public StringBuilder getUnenclosedSQL(StringBuilder builder, int sqlFlags) Implements abstract org. Doc from org. Get the SQL statement of this expression. This may not always be the original SQL statement, especially after optimization. Enclosing '(' and ')' are never appended.
| |
| getValue | back to summary |
|---|---|
| public Value getValue(SessionLocal session) Implements abstract org. Doc from org. Return the resulting value for the current row.
| |
| getValue | back to summary |
|---|---|
| private Value getValue(SessionLocal session, Value l, Value r) | |
| getValue | back to summary |
|---|---|
| private Value getValue(SessionLocal session, int l) | |
| inlineArguments | back to summary |
|---|---|
| private void inlineArguments() | |
| isEmpty | back to summary |
|---|---|
| private static boolean isEmpty(Value v) | |
| needParentheses | back to summary |
|---|---|
| public boolean needParentheses() Overrides org. Doc from org. Returns whether this expressions needs to be wrapped in parentheses when it is used as an argument of other expressions.
| |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Implements abstract org. Doc from org. Try to optimize the expression.
| |