Class SerializedCPCSketch
- java.lang.Object
-
- org.apache.pinot.segment.local.customobject.SerializedCPCSketch
-
- All Implemented Interfaces:
Comparable<SerializedCPCSketch>
public class SerializedCPCSketch extends Object implements Comparable<SerializedCPCSketch>
Serialized and comparable version of CPC Sketch. Ordering is defined by the cardinality estimate and not the size of the underlying sketch.
-
-
Constructor Summary
Constructors Constructor Description SerializedCPCSketch(org.apache.datasketches.cpc.CpcSketch sketch)
-
-
-
Method Detail
-
compareTo
public int compareTo(SerializedCPCSketch other)
- Specified by:
compareToin interfaceComparable<SerializedCPCSketch>
-
-