Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5662

uv3 support CAS deserialization subsequent low level access

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0SDK-beta
    • 3.0.0SDK
    • Core Java Framework
    • None

    Description

      Some users depend 1) constant v2-ids for FSs preserved in deserialization and serialization, and 2) low level cas API access to these.

      V3 normally doesn't maintain tables linking ids to FSs, as these prevent GC of unreachable FSs.

      1. Based on a mode, set by -Duima.default_v2_id_references, and also controllable per CAS instance, support the use of id's in the same way V2 did, with better support for more serialization/deserializations.
        Feature Structures when created are added to the internal id-to-FeatureStructure map, enabling the LowLevelCAS apis to work.
      2. IDs are assigned so that mimic what they would be in V2
      3. Serialization is altered to include unreachable Feature Structures for those serialization forms where this is the v2 worked.  Forms like Xmi, XCAS, and compressed binary serialization form 6 only serialized reachable featrue structures in v2, and for backwards compatibility, this is continued.

       

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              schor Marshall Schor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: