| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | createIndexConditions(SessionLocal
the session session, TableFilter the table filter filter)Overrides org. Create index conditions if possible and attach them to the table filter. |
| private static void | |
| public Expression | getNotIfPossible(SessionLocal
the session session)Overrides org. If it is possible, return the negated expression. |
| 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 boolean | |
| public StringBuilder | getWhenSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Appends the SQL statement of this when operand to the specified builder. |
| public boolean | getWhenValue(SessionLocal
the session session, Value value on the left side left)Overrides org. Return the resulting value of when operand for the current row. |
| public Expression | optimize(SessionLocal
the session session)Overrides org. Try to optimize the expression. |
| optimized | back to summary |
|---|---|
| private boolean optimized | |
| NullPredicate | back to summary |
|---|---|
| public NullPredicate(Expression left, boolean not, boolean whenOperand) | |
| createIndexConditions | back to summary |
|---|---|
| public void createIndexConditions(SessionLocal session, TableFilter filter) Overrides org. Doc from org. Create index conditions if possible and attach them to the table filter.
| |
| createNullIndexCondition | back to summary |
|---|---|
| private static void createNullIndexCondition(TableFilter filter, ExpressionColumn c) | |
| getNotIfPossible | back to summary |
|---|---|
| public Expression getNotIfPossible(SessionLocal session) Overrides org. Doc from org. If it is possible, return the negated expression. This is used to optimize NOT expressions: NOT ID>10 can be converted to ID<=10. Returns null if negating is not possible.
| |
| 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 boolean getValue(Value left) | |
| getWhenSQL | back to summary |
|---|---|
| public StringBuilder getWhenSQL(StringBuilder builder, int sqlFlags) Overrides org. Doc from org. Appends the SQL statement of this when operand to the specified builder.
| |
| getWhenValue | back to summary |
|---|---|
| public boolean getWhenValue(SessionLocal session, Value left) Overrides org. Doc from org. Return the resulting value of when operand for the current row.
| |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Overrides org. Doc from org. Try to optimize the expression.
| |