Class Grid.ApproxCount

  • All Implemented Interfaces:
    Serializable
    Enclosing interface:
    Grid

    public static class Grid.ApproxCount
    extends Object
    implements Serializable
    Utility class to represent the outcome of a partial count: the number of records/rows processed, and how many of these fulfilled the condition. The limitReached flag indicates whether the aggregation stopped because the limit was reached or the underlying collection was exhausted.
    See Also:
    Serialized Form
    • Constructor Detail

      • ApproxCount

        public ApproxCount​(long processed,
                           long matched,
                           boolean limitReached)
    • Method Detail

      • getProcessed

        public long getProcessed()
      • getMatched

        public long getMatched()
      • limitReached

        public boolean limitReached()