mirror of https://github.com/apache/druid.git
AbstractOptimizableDimFilter should be public (#10142)
This commit is contained in:
parent
c86e7ce30b
commit
010fe047e1
|
@ -27,7 +27,7 @@ import com.google.common.base.Suppliers;
|
|||
* 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.
|
||||
*/
|
||||
abstract class AbstractOptimizableDimFilter implements DimFilter
|
||||
public abstract class AbstractOptimizableDimFilter implements DimFilter
|
||||
{
|
||||
private final Supplier<Filter> cachedOptimizedFilter = Suppliers.memoize(
|
||||
() -> optimize().toFilter()
|
||||
|
|
Loading…
Reference in New Issue