Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15041 Redis Plugin: Support for additional commands
  3. HPCC-15499

Redis Plugin: add INCRBY and make changes needed to setInt & getInt etc

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.2.0
    • Component/s: Plugins
    • Labels:
      None

      Description

      Changes to the internals of SetInteger and GetInteger are required such that integers are now passed from the plugin to hiredis as ints rather than as RESP (REdis Serialization Protocol) bulk strings as they were previously. This allows INCRBY (etc) to actually work as the key values are now stored as integers (RESP integers) on the server and can be arithmetically manipulated.

      It may not be necessary to implement INCR nor DECR nor DECRBY, as INCRBY takes signed values as its increment and the ECL default can be set to 1 in the library.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamienoss Jamie Noss
                Reporter:
                jamienoss Jamie Noss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: