Class CalciteCnfHelper
- java.lang.Object
-
- org.apache.druid.segment.filter.cnf.CalciteCnfHelper
-
public class CalciteCnfHelper extends Object
All functions in this class were basically adopted from Apache Calcite and modified to use them in Druid. See https://github.com/apache/calcite/blob/branch-1.21/core/src/main/java/org/apache/calcite/rex/RexUtil.java#L1615 for original implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Filter>conjunctions(Filter rexPredicate)Returns a condition decomposed by AND.static voiddecomposeConjunction(Filter rexPredicate, List<Filter> rexList)Decomposes a predicate into a list of expressions that are AND'ed together.static Filterpull(Filter rex)
-