Class PredicateTreeAnnotations
- java.lang.Object
-
- com.yahoo.search.predicate.annotator.PredicateTreeAnnotations
-
public class PredicateTreeAnnotations extends java.lang.Object
Holds annotations for all the features of a predicate. This is sufficient information to insert the predicate into a PredicateIndex.- Author:
- Magnar Nedland
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<java.lang.Long,java.util.List<IntervalWithBounds>>
boundsMap
java.util.Map<IndexableFeatureConjunction,java.util.List<java.lang.Integer>>
featureConjunctions
int
intervalEnd
java.util.Map<java.lang.Long,java.util.List<java.lang.Integer>>
intervalMap
int
minFeature
-
Constructor Summary
Constructors Constructor Description PredicateTreeAnnotations(int minFeature, int intervalEnd, java.util.Map<java.lang.Long,java.util.List<java.lang.Integer>> intervalMap, java.util.Map<java.lang.Long,java.util.List<IntervalWithBounds>> boundsMap, java.util.Map<IndexableFeatureConjunction,java.util.List<java.lang.Integer>> featureConjunctions)
-
-
-
Field Detail
-
minFeature
public final int minFeature
-
intervalEnd
public final int intervalEnd
-
intervalMap
public final java.util.Map<java.lang.Long,java.util.List<java.lang.Integer>> intervalMap
-
boundsMap
public final java.util.Map<java.lang.Long,java.util.List<IntervalWithBounds>> boundsMap
-
featureConjunctions
public final java.util.Map<IndexableFeatureConjunction,java.util.List<java.lang.Integer>> featureConjunctions
-
-
Constructor Detail
-
PredicateTreeAnnotations
public PredicateTreeAnnotations(int minFeature, int intervalEnd, java.util.Map<java.lang.Long,java.util.List<java.lang.Integer>> intervalMap, java.util.Map<java.lang.Long,java.util.List<IntervalWithBounds>> boundsMap, java.util.Map<IndexableFeatureConjunction,java.util.List<java.lang.Integer>> featureConjunctions)
-
-