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