Class PredicateOptimizer


  • public class PredicateOptimizer
    extends java.lang.Object
    Prepares the predicate for indexing. Performs several optimization passes on the predicate.
    Author:
    bjorncs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.yahoo.document.predicate.Predicate optimizePredicate​(com.yahoo.document.predicate.Predicate predicate)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PredicateOptimizer

        public PredicateOptimizer​(Config config)
    • Method Detail

      • optimizePredicate

        public com.yahoo.document.predicate.Predicate optimizePredicate​(com.yahoo.document.predicate.Predicate predicate)
        Returns:
        The optimized predicate.