Package org.apache.uima.cas.impl
Class BinaryCasSerDes6.ReuseInfo
java.lang.Object
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo
- Enclosing class:
BinaryCasSerDes6
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
FieldsModifier and TypeFieldDescriptionprivate final PositiveIntSet
kept to avoid recomputation in the use case: - serialize to target 1, serialize same to target 2, etc.private final CasSeqAddrMaps
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 Summary
ConstructorsModifierConstructorDescriptionprivate
ReuseInfo
(PositiveIntSet foundFSs, List<TOP> fssToSerialize, CasSeqAddrMaps fsStartIndexes) -
Method Summary
-
Field Details
-
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
-
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
-
ReuseInfo
-