Package com.yahoo.document.predicate
Class RangePartition
- java.lang.Object
-
- com.yahoo.document.predicate.Predicate
-
- com.yahoo.document.predicate.RangePartition
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
RangeEdgePartition
public class RangePartition extends Predicate
- Author:
- Magnar Nedland
-
-
Constructor Summary
Constructors Constructor Description RangePartition(String label)
RangePartition(String key, long fromInclusive, long toInclusive, boolean isNeg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendTo(StringBuilder out)
RangePartition
clone()
boolean
equals(Object obj)
String
getLabel()
int
hashCode()
-
Methods inherited from class com.yahoo.document.predicate.Predicate
appendQuotedTo, asciiDecode, asciiEncode, fromBinary, fromString, toString
-
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
clone
public RangePartition clone() throws CloneNotSupportedException
- Overrides:
clone
in classPredicate
- Throws:
CloneNotSupportedException
-
appendTo
protected void appendTo(StringBuilder out)
-
-