// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.search.predicate.annotator; import com.yahoo.search.predicate.index.IntervalWithBounds; import com.yahoo.search.predicate.index.conjunction.IndexableFeatureConjunction; import java.util.List; import java.util.Map; /** * Holds annotations for all the features of a predicate. * This is sufficient information to insert the predicate into a PredicateIndex. * * @author Magnar Nedland */ public class PredicateTreeAnnotations { public final int minFeature; public final int intervalEnd; public final Map> intervalMap; public final Map> boundsMap; public final Map> featureConjunctions; public PredicateTreeAnnotations( int minFeature, int intervalEnd, Map> intervalMap, Map> boundsMap, Map> featureConjunctions) { this.minFeature = minFeature; this.intervalEnd = intervalEnd; this.intervalMap = intervalMap; this.boundsMap = boundsMap; this.featureConjunctions = featureConjunctions; } }