Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3345

Implement support for optional key type in REST HTTP get command

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 2.5
    • cache, rest
    • None

    Description

      It seems that in current implementation (https://apacheignite.readme.io/docs/rest-api#get)
      GET command could work only with String keys.

      We can add optional parameter "keyType" and implement support for common built-in types such as Integer, Long, UUID,... and user classes that a valid JavaBeans.

      Sample: http://host:port/ignite?cmd=get&key=1&cacheName=myCache&keyType=Long

      Attachments

        Activity

          People

            pkonstantinov Pavel Konstantinov
            kuaw26 Alexey Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: