Package org.apache.uima.cas.impl
Class BinaryCasSerDes6.ReuseInfo
- java.lang.Object
-
- org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo
-
- Enclosing class:
- BinaryCasSerDes6
public static class BinaryCasSerDes6.ReuseInfo extends java.lang.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 Summary
Fields Modifier and Type Field Description private PositiveIntSet
foundFSs
kept to avoid recomputation in the use case: - serialize to target 1, serialize same to target 2, etc.private 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 addrprivate java.util.List<TOP>
fssToSerialize
-
Constructor Summary
Constructors Modifier Constructor Description private
ReuseInfo(PositiveIntSet foundFSs, java.util.List<TOP> fssToSerialize, CasSeqAddrMaps fsStartIndexes)
-
-
-
Field Detail
-
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 java.util.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 Detail
-
ReuseInfo
private ReuseInfo(PositiveIntSet foundFSs, java.util.List<TOP> fssToSerialize, CasSeqAddrMaps fsStartIndexes)
-
-