Class IsBooleanFilter

java.lang.Object
org.apache.druid.segment.filter.IsBooleanFilter
All Implemented Interfaces:
BooleanUnaryFilter, Filter

public class IsBooleanFilter extends Object implements BooleanUnaryFilter
SQL three-value logic wrapper for some child Filter to implement '{filter} IS TRUE' and '{filter} IS FALSE'. Primarily useful when living beneath a NotFilter because this filter purposely ignores the value of includeUnknown and so always correctly only returns values that definitely match or do not match the filter to produce correct results for '{filter} IS NOT TRUE' and '{filter} IS NOT FALSE'. This filter is a relatively thin wrapper, so should be relatively harmless if used without a 'NOT' filter.
See Also: