Class HiveCnfHelper
- java.lang.Object
-
- org.apache.druid.segment.filter.cnf.HiveCnfHelper
-
public class HiveCnfHelper extends Object
All functions in this class were basically adopted from Apache Hive and modified to use them in Druid. See https://github.com/apache/hive/blob/branch-2.0/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java for original implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Filter
convertToCnf(Filter current)
static Filter
flatten(Filter root)
static Filter
pushDownNot(Filter current)
-
-
-
Method Detail
-
convertToCnf
public static Filter convertToCnf(Filter current) throws CNFFilterExplosionException
- Throws:
CNFFilterExplosionException
-
-