Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-554

Add min and max aggregators for Comparables

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      In the Aggregators class, we currently have min and max aggregators for various numeric types, but not for the general case of Comparables. We do have this functionality in the MaxN and MinN aggregators, however.

      We should add MAX_COMPARABLES and MIN_COMPARABLES methods to the Aggregators class. As extra bonus, all of the current numeric max and min aggregators can be discarded and replaced with the comparable version.

        Attachments

        1. CRUNCH-554.patch
          9 kB
          Gabriel Reid

          Activity

            People

            • Assignee:
              gabriel.reid Gabriel Reid
              Reporter:
              gabriel.reid Gabriel Reid
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: