This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


abstract class %Library.SerialState

Serial object interface

Method Inventory (Including Private)


parameter ODBCDELIMITER = ,;
parameter STORAGECOMPILERCLASS = %Compiler.Storage.Serial;
parameter STORAGEINTERFACE = serial;
STORAGEINTERFACE defines the type of serialization implemented by this class. The value has to match the classtype of the class that is inheriting the serialization interface.


private method %GetSerial(force As %Integer = 0) as %String
Get Serialized State. %GetSerial() can assume that the ID values have already been reset for swizzled references since %Oid has already called %ResetAllObject()
private method %SetSerial(val As %String) as %Status
Set Serialized State.
classmethod LogicalToOdbc(%val As %String = "") as %String
LogicalToOdbc() Construct a string delimited by ODBCDELIMITER from an object's serialized state.
classmethod OdbcToLogical(%val As %String = "") as %String