Uses of Class
org.apache.uima.cas.impl.BinaryCasSerDes
Packages that use BinaryCasSerDes
Package
Description
Implementation and Low-Level API for the CAS Interfaces.
-
Uses of BinaryCasSerDes in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as BinaryCasSerDesModifier and TypeFieldDescriptionprivate final BinaryCasSerDes
BinaryCasSerDes4.Deserializer.bcsd
private final BinaryCasSerDes
BinaryCasSerDes4.Serializer.bcsd
private final BinaryCasSerDes
BinaryCasSerDes6.bcsd
private final BinaryCasSerDes
CASImpl.SharedViewData.bcsd
Created at startup time, lives as long as the CAS lives Serves to reference code for binary cas ser/des that used to live in this class, but was moved outMethods in org.apache.uima.cas.impl that return BinaryCasSerDesMethods in org.apache.uima.cas.impl with parameters of type BinaryCasSerDesModifier and TypeMethodDescriptionprivate static int
CASSerializer.convertArrayIndexToAuxHeapAddr
(BinaryCasSerDes bcsd, int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2auxOffset) The offset in the modeled heaps:private void
CASSerializer.copyHeapsToArrays
(BinaryCasSerDes bcsd) private void
CASSerializer.outputStringHeap
(DataOutputStream dos, CASImpl cas, StringHeapDeserializationHelper shdh, BinaryCasSerDes bcsd) (package private) static void
CASSerializer.scanModifications
(BinaryCasSerDes bcsd, CommonSerDesSequential csds, CASImpl.FsChange[] fssModified, Obj2IntIdentityHashMap<TOP> fs2auxOffset, List<CASSerializer.AddrPlusValue> chgMainAvs, List<CASSerializer.AddrPlusValue> chgByteAvs, List<CASSerializer.AddrPlusValue> chgShortAvs, List<CASSerializer.AddrPlusValue> chgLongAvs) Scan the v3 fsChange info and produce v2 style info into chgXxxAddr, chgXxxValue A prescan approach is needed in order to write the number of modifications preceding the write of the values (which unfortunately were written to the same stream in V2).