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 BinaryCasSerDesBinaryCasSerDes4.Deserializer.bcsdprivate final BinaryCasSerDesBinaryCasSerDes4.Serializer.bcsdprivate final BinaryCasSerDesBinaryCasSerDes6.bcsdprivate final BinaryCasSerDesCASImpl.SharedViewData.bcsdCreated 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 intCASSerializer.convertArrayIndexToAuxHeapAddr(BinaryCasSerDes bcsd, int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2auxOffset) The offset in the modeled heaps:private voidCASSerializer.copyHeapsToArrays(BinaryCasSerDes bcsd) private voidCASSerializer.outputStringHeap(DataOutputStream dos, CASImpl cas, StringHeapDeserializationHelper shdh, BinaryCasSerDes bcsd) (package private) static voidCASSerializer.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).