Package com.yahoo.document.predicate
Class FeatureRange
java.lang.Object
com.yahoo.document.predicate.Predicate
com.yahoo.document.predicate.FeatureRange
- All Implemented Interfaces:
Cloneable
- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorDescriptionFeatureRange
(String key) FeatureRange
(String key, Long fromInclusive, Long toInclusive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
appendTo
(StringBuilder out) static FeatureRange
buildFromMixedIn
(String key, List<String> partitions, int arity) void
clone()
boolean
getKey()
int
hashCode()
setFromInclusive
(Long from) setToInclusive
(Long to) Methods inherited from class com.yahoo.document.predicate.Predicate
appendQuotedTo, asciiDecode, asciiEncode, fromBinary, fromString, toString
-
Constructor Details
-
FeatureRange
-
FeatureRange
-
-
Method Details
-
setKey
-
getKey
-
setFromInclusive
-
getFromInclusive
-
setToInclusive
-
getToInclusive
-
addPartition
-
getEdgePartitions
-
getPartitions
-
clearPartitions
public void clearPartitions() -
clone
- Overrides:
clone
in classPredicate
- Throws:
CloneNotSupportedException
-
hashCode
public int hashCode() -
equals
-
appendTo
-
buildFromMixedIn
-