Class LogicalInverter

java.lang.Object
org.apache.parquet.filter2.predicate.LogicalInverter
All Implemented Interfaces:
FilterPredicate.Visitor<FilterPredicate>

public final class LogicalInverter extends Object implements FilterPredicate.Visitor<FilterPredicate>
Converts a FilterPredicate to its logical inverse. The returned predicate should be equivalent to not(p), but without the use of a not() operator.

See also LogicalInverseRewriter, which can remove the use of all not() operators without inverting the overall predicate.