Class IterableToHllSketch

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

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

      • IterableToHllSketch

        public IterableToHllSketch()
      • IterableToHllSketch

        public IterableToHllSketch​(int logK)
      • IterableToHllSketch

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

      • apply

        public org.apache.datasketches.hll.HllSketch apply​(Iterable<Object> iterable)
      • 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)