Class PredicateOptions
java.lang.Object
com.yahoo.search.predicate.optimization.PredicateOptions
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
Modifier and TypeFieldDescriptionstatic final long
static final long
-
Constructor Summary
ConstructorDescriptionPredicateOptions
(int arity) PredicateOptions
(int arity, Long lowerBound, Long upperBound) -
Method Summary
-
Field Details
-
DEFAULT_LOWER_BOUND
public static final long DEFAULT_LOWER_BOUND- See Also:
-
DEFAULT_UPPER_BOUND
public static final long DEFAULT_UPPER_BOUND- See Also:
-
-
Constructor Details
-
PredicateOptions
-
PredicateOptions
public PredicateOptions(int arity)
-
-
Method Details
-
getArity
public int getArity() -
getLowerBound
public long getLowerBound() -
getUpperBound
public long getUpperBound() -
getAdjustedLowerBound
public long getAdjustedLowerBound() -
getAdjustedUpperBound
public long getAdjustedUpperBound()
-