| Modifier and Type | Field and Description |
|---|---|
| public static final int | COALESCE
COALESCE(). |
| private final int | |
| public static final int | GREATEST
GREATEST() (non-standard). |
| private boolean | |
| public static final int | LEAST
LEAST() (non-standard). |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public | |
| 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)Overrides org. Return the resulting value for the current row. |
| private static Value | |
| private Value | |
| public Expression | optimize(SessionLocal
the session session)Implements abstract org. Try to optimize the expression. |
| public void | |
| private boolean |
| COALESCE | back to summary |
|---|---|
| public static final int COALESCE COALESCE(). | |
| function | back to summary |
|---|---|
| private final int function | |
| GREATEST | back to summary |
|---|---|
| public static final int GREATEST GREATEST() (non-standard). | |
| ignoreNulls | back to summary |
|---|---|
| private boolean ignoreNulls | |
| LEAST | back to summary |
|---|---|
| public static final int LEAST LEAST() (non-standard). | |
| NAMES | back to summary |
|---|---|
| private static final String[] NAMES | |
| CoalesceFunction | back to summary |
|---|---|
| public CoalesceFunction(int function) | |
| CoalesceFunction | back to summary |
|---|---|
| public CoalesceFunction(int function, Expression... args) | |
| 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) Overrides org. Doc from org. Return the resulting value for the current row.
| |
| getWithNull | back to summary |
|---|---|
| private static Value getWithNull(Value v, Value v2) | |
| greatestOrLeast | back to summary |
|---|---|
| private Value greatestOrLeast(SessionLocal session) | |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Implements abstract org. Doc from org. Try to optimize the expression.
| |
| setIgnoreNulls | back to summary |
|---|---|
| public void setIgnoreNulls(boolean ignoreNulls) | |
| test | back to summary |
|---|---|
| private boolean test(int comp) | |