Class TopKCounter

java.lang.Object
dev.frostlake.functions.aggregate.TopKCounter

public class TopKCounter extends Object
One counter of a TopKSummary: a value, how many times the summary has counted it, and the tick of the summary's clock at which it was last touched — the tie-breaker every ordering rule of the APPROX_TOP_K family reads.
  • Method Details

    • value

      public Object value()
      The value as it was first seen, which is how the counter renders.
    • count

      public long count()