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

BinaryType.fieldNames() should return names in consistent order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.7
    • 2.0
    • binary
    • None

    Description

      In some cases it can be useful to get the field names from metadata in the order fields were written when the metadata was created (i.e. object was serialized for the first time). For example, this can be used to recreate the object using builder preserving the consistent field ordering, so that BinaryObject.equals() method works properly.

      Basically, we just need to replace HashMap with LinkedHashMap in the BinaryType implementation.

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: