Class PredicateOptions
- java.lang.Object
-
- com.yahoo.search.predicate.optimization.PredicateOptions
-
public class PredicateOptions extends Object
This class contains the configured options for predicate indexes. The adjusted bounds are extended to the nearest power of the arity (-1) and are used to generate more efficient indexes.- Author:
- Magnar Nedland, bjorncs
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_LOWER_BOUND
static long
DEFAULT_UPPER_BOUND
-
Constructor Summary
Constructors Constructor Description PredicateOptions(int arity)
PredicateOptions(int arity, Long lowerBound, Long upperBound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAdjustedLowerBound()
long
getAdjustedUpperBound()
int
getArity()
long
getLowerBound()
long
getUpperBound()
-
-
-
Field Detail
-
DEFAULT_LOWER_BOUND
public static final long DEFAULT_LOWER_BOUND
- See Also:
- Constant Field Values
-
DEFAULT_UPPER_BOUND
public static final long DEFAULT_UPPER_BOUND
- See Also:
- Constant Field Values
-
-