Class MinMaxRangePair
- java.lang.Object
-
- org.apache.pinot.segment.local.customobject.MinMaxRangePair
-
- All Implemented Interfaces:
Comparable<MinMaxRangePair>
public class MinMaxRangePair extends Object implements Comparable<MinMaxRangePair>
-
-
Constructor Summary
Constructors Constructor Description MinMaxRangePair(double min, double max)
-
Method Summary
Modifier and Type Method Description voidapply(double min, double max)voidapply(MinMaxRangePair minMaxRangePair)intcompareTo(MinMaxRangePair minMaxRangePair)static MinMaxRangePairfromByteBuffer(ByteBuffer byteBuffer)static MinMaxRangePairfromBytes(byte[] bytes)doublegetMax()doublegetMin()byte[]toBytes()
-
-
-
Method Detail
-
apply
public void apply(double min, double max)
-
apply
public void apply(@Nonnull MinMaxRangePair minMaxRangePair)
-
getMin
public double getMin()
-
getMax
public double getMax()
-
toBytes
@Nonnull public byte[] toBytes()
-
fromBytes
@Nonnull public static MinMaxRangePair fromBytes(byte[] bytes)
-
fromByteBuffer
@Nonnull public static MinMaxRangePair fromByteBuffer(ByteBuffer byteBuffer)
-
compareTo
public int compareTo(@Nonnull MinMaxRangePair minMaxRangePair)- Specified by:
compareToin interfaceComparable<MinMaxRangePair>
-
-