public abstract class AbstractOptimizableDimFilter
extends Object
implements DimFilter
Base class for DimFilters that support optimization. This abstract class provides a default implementation of
toOptimizedFilter that relies on the existing optimize() and toFilter() methods. It uses a memoized supplier.
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.druid.query.filter.DimFilter
Return a Filter that implements this DimFilter, after applying optimizations to this DimFilter.
A typical implementation will return the result of `optimize().toFilter()`
See abstract base class AbstractOptimizableDimFilter for a common implementation shared by
current DimFilters.
The Filter returned by this method across multiple calls must be the same object: parts of the query stack
compare Filters, and returning the same object allows these checks to avoid deep comparisons.
(see for an example