If possible, returns an optimized expression with inverted operands. @param cc compilation context @return original or modified expression @throws QueryException query exception
(final CompileContext cc)
| 79 | * @throws QueryException query exception |
| 80 | */ |
| 81 | public final Expr invert(final CompileContext cc) throws QueryException { |
| 82 | final Expr expr = invert(); |
| 83 | return expr != null ? expr.optimize(cc) : this; |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * If possible, returns an expression with inverted operands. |