Class RemoveRedundantIsTrue
java.lang.Object
org.apache.druid.sql.calcite.filtration.RemoveRedundantIsTrue
- All Implemented Interfaces:
com.google.common.base.Function<Filtration,,Filtration> Function<Filtration,Filtration>
public class RemoveRedundantIsTrue
extends Object
implements com.google.common.base.Function<Filtration,Filtration>
Similar to
BottomUpTransform except only removes redundant IS TRUE filters that are not inside of a NOT
filter. The planner leaves behind stuff like `(x == y) IS TRUE` which is a pointless delegate when not living inside
of a not filter to enforce proper three-value logic-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Filtration filtration) static RemoveRedundantIsTrueinstance()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
RemoveRedundantIsTrue
public RemoveRedundantIsTrue()
-
-
Method Details
-
instance
-
apply
- Specified by:
applyin interfacecom.google.common.base.Function<Filtration,Filtration> - Specified by:
applyin interfaceFunction<Filtration,Filtration>
-