Class HllSketchWithValues


  • public class HllSketchWithValues
    extends Object
    A HllSketchWithValues is a wrapper around the HllSketch object which helps Gaffer deserialise them. The values list is taken and fed into an IterableToHllSketch function so that they are applied over JSON. This effectively allows you to create a populated HllSketch over JSON.
    • Constructor Detail

      • HllSketchWithValues

        public HllSketchWithValues()
    • Method Detail

      • getLogK

        public int getLogK()
      • setLogK

        public void setLogK​(int logK)
      • getBytes

        public byte[] getBytes()
      • setBytes

        public void setBytes​(byte[] bytes)
      • setValues

        public void setValues​(List<Object> values)
      • getHllSketch

        public org.apache.datasketches.hll.HllSketch getHllSketch()
                                                           throws IOException
        Throws:
        IOException