mirror of
https://github.com/apache/druid.git
synced 2025-02-11 20:45:01 +00:00
* `Expr#singleThreaded` which creates a singleThreaded version of the actual expression (caching ExprEval is allowed) * `Expr#makeSingleThreaded` to make a whole subtree of expressions 'singleThreaded' - uses `Shuttle` to create the new expression tree * `ConstantExpr#singleThreaded` creates a specialized `ConstantExpr` which does cache the `ExprEval` * some `@Immutable` annotations were added to make it more likely to notice that there might be something off if a similar change will be made around here for some reason