Class ComplexNodeTransformer
- java.lang.Object
-
- com.yahoo.search.predicate.optimization.ComplexNodeTransformer
-
- All Implemented Interfaces:
PredicateProcessor
public class ComplexNodeTransformer extends java.lang.Object implements PredicateProcessor
Partitions all the feature ranges according to the arity and bounds set in the PredicateOptions, and updates the ranges with a set of partitions and edge partitions. This is required to be able to store a range in the PredicateIndex.- Author:
- Magnar Nedland, bjorncs
-
-
Constructor Summary
Constructors Constructor Description ComplexNodeTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicate
process(Predicate predicate, PredicateOptions options)
Processes a predicate.void
processPredicate(Predicate predicate, PredicateOptions options)
-
-
-
Method Detail
-
processPredicate
public void processPredicate(Predicate predicate, PredicateOptions options)
-
process
public Predicate process(Predicate predicate, PredicateOptions options)
Description copied from interface:PredicateProcessor
Processes a predicate.- Specified by:
process
in interfacePredicateProcessor
- Returns:
- the processed predicate.
-
-