Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1180

Add more optimized binary operators to Operator.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1-incubating
    • 3.2.0-incubating
    • process
    • None

    Description

      We currently have Operator enum which has nice operators like add, assign, sum, max, min, etc. The problem with lots of the number-based implementations is that they reason about the number format using NumberHelper. I think we should add sumLong, sumInteger, and the like to allow classes the leverage Operator to bypass number-type-reasoning when they know it will be a long, integer, etc.

      This is important for GraphComputer.Memory where reducers are binary operators and we use Operator.

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            okram Marko A. Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: