Package com.yahoo.schema.document
Class BooleanIndexDefinition
java.lang.Object
com.yahoo.schema.document.BooleanIndexDefinition
Encapsulates values required for predicate fields.
- Author:
- lesters
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final double
static final long
static final long
-
Constructor Summary
ConstructorDescriptionBooleanIndexDefinition
(Optional<Integer> arity, Optional<Long> lowerBound, Optional<Long> upperBound, Optional<Double> densePLT) BooleanIndexDefinition
(OptionalInt arity, OptionalLong lowerBound, OptionalLong upperBound, OptionalDouble densePostingListThreshold) -
Method Summary
-
Field Details
-
DEFAULT_ARITY
public static final int DEFAULT_ARITY- See Also:
-
DEFAULT_UPPER_BOUND
public static final long DEFAULT_UPPER_BOUND- See Also:
-
DEFAULT_LOWER_BOUND
public static final long DEFAULT_LOWER_BOUND- See Also:
-
DEFAULT_DENSE_POSTING_LIST_THRESHOLD
public static final double DEFAULT_DENSE_POSTING_LIST_THRESHOLD- See Also:
-
-
Constructor Details
-
BooleanIndexDefinition
-
BooleanIndexDefinition
public BooleanIndexDefinition(OptionalInt arity, OptionalLong lowerBound, OptionalLong upperBound, OptionalDouble densePostingListThreshold)
-
-
Method Details
-
getArity
public int getArity() -
hasArity
public boolean hasArity() -
getLowerBound
public long getLowerBound() -
hasLowerBound
public boolean hasLowerBound() -
getUpperBound
public long getUpperBound() -
hasUpperBound
public boolean hasUpperBound() -
getDensePostingListThreshold
public double getDensePostingListThreshold() -
hasDensePostingListThreshold
public boolean hasDensePostingListThreshold() -
toString
-