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

Document the ability to add non-primitive objects via REST.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 2.9
    • documentation, rest
    • None

    Description

      https://apacheignite.readme.io/docs/rest-api

      [Data types]

      The REST API also supports custom types.
      For such objects, the JSON format is used.
      If the type name is a Java class that is available on the server, the fields will be stored according to the definition of the Java class.
      If the type name is a query entity type, the fields will be stored according to the type of field defined in the query entity.
      If the type name is a different type, the fields will be stored according to regular JSON types.

      [Sql query execute]
      [Sql fields query execute]
      [Scan query execute]

      Request parameters
      keepBinary | boolean | yes | do not deserialize binary objects, false by default

      Attachments

        1. restapi-short-before.png
          69 kB
          Pavel Pereslegin
        2. restapi-short-after.png
          69 kB
          Pavel Pereslegin

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h