Class ToHllSketch

  • All Implemented Interfaces:
    Function<Object,​org.apache.datasketches.hll.HllSketch>

    public class ToHllSketch
    extends uk.gov.gchq.koryphe.function.KorypheFunction<Object,​org.apache.datasketches.hll.HllSketch>
    Creates a new HllSketch instance and initialises it with the given object.
    • Constructor Detail

      • ToHllSketch

        public ToHllSketch()
      • ToHllSketch

        public ToHllSketch​(int logK)
      • ToHllSketch

        public ToHllSketch​(org.apache.datasketches.hll.HllSketch hllSketch)
    • Method Detail

      • apply

        public org.apache.datasketches.hll.HllSketch apply​(Object o)
      • getLogK

        public int getLogK()
      • setLogK

        public void setLogK​(int logK)
      • getHllSketch

        public org.apache.datasketches.hll.HllSketch getHllSketch()
      • setHllSketch

        public void setHllSketch​(org.apache.datasketches.hll.HllSketch hllSketch)