Class BinaryCasSerDes6.ReuseInfo

java.lang.Object
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo
Enclosing class:
BinaryCasSerDes6

public static class BinaryCasSerDes6.ReuseInfo extends Object
Info reused for 1) multiple serializations of same cas to multiple targets (a speedup), or 2) for delta cas serialization, where it represents the fsStartIndex info before any mods were done which could change that info, or 3) for deserializing with a delta cas, where it represents the fsStartIndex info at the time the CAS was serialized out.. Reachable FSs and Sequence maps
  • Field Details

    • foundFSs

      private final PositiveIntSet foundFSs
      kept to avoid recomputation in the use case: - serialize to target 1, serialize same to target 2, etc. - Delta serialization (uses reuse info saved during initial deserialization) - Delta deserialization if Null, recomputed when needed foundFSs used to test if fsRef needs to be serialized
    • fssToSerialize

      private final List<TOP> fssToSerialize
    • fsStartIndexes

      private final CasSeqAddrMaps fsStartIndexes
      Multiple uses: a) avoid recomputation when multiple serializations of same CAS to multiple targets b) remembers required mapping for processing delta cas serializations and deserializations conversion of tgt seq # to src addr
  • Constructor Details