| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static final int | LEADING
The LEADING flag. |
| public static final int | MULTI_CHARACTER
The multi-character flag. |
| public static final int | TRAILING
The TRAILING flag. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public StringBuilder | getUnenclosedSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Get the SQL statement of this expression. |
| public Value | getValue(SessionLocal
the session session, Value the value of first argument v1, Value the value of second argument, or v2)nullOverrides org. Returns the value of this function. |
| public Expression | optimize(SessionLocal
the session session)Implements abstract org. Try to optimize the expression. |
| flags | back to summary |
|---|---|
| private int flags | |
| LEADING | back to summary |
|---|---|
| public static final int LEADING The LEADING flag. | |
| MULTI_CHARACTER | back to summary |
|---|---|
| public static final int MULTI_CHARACTER The multi-character flag. | |
| TRAILING | back to summary |
|---|---|
| public static final int TRAILING The TRAILING flag. | |
| TrimFunction | back to summary |
|---|---|
| public TrimFunction(Expression from, Expression space, int flags) | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get the name. | |
| getUnenclosedSQL | back to summary |
|---|---|
| public StringBuilder getUnenclosedSQL(StringBuilder builder, int sqlFlags) Overrides 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, Value v1, Value v2) Overrides org. Doc from org. Returns the value of this function.
| |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Implements abstract org. Doc from org. Try to optimize the expression.
| |