SysRecordMapSerializer Class [AX 2012]

The SysRecordMapSerializer class is a utility class for serializing and deserializing large record maps and sending them between client and server in multiple messages.

class SysRecordMapSerializer

Run On

Called

  MethodDescription
Dn565831.privmethod(en-us,AX.60).gif bulkReadIntoMap Reads the given records into the existing record map.
Dn565831.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn565831.protmethod(en-us,AX.60).gif new Initializes a new instance of the SysRecordMapSerializer class.
Dn565831.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif pack Serializes a Map containing a single type of record where the keys are the record Ids.
Dn565831.pubmethod(en-us,AX.60).gif parmNumRecordsPerServerCall Gets or sets the NumRecordsPerServerCall parameter.
Dn565831.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif unpack Deserializes a Map of records that was previously serialized using from this class.
Dn565831.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn565831.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn565831.privmethod(en-us,AX.60).gif Dn565831.static(en-us,AX.60).gif ::bulkReadRecords Reads the requested records and returns them in a list.
Dn565831.privmethod(en-us,AX.60).gif Dn565831.static(en-us,AX.60).gif ::bulkReadRecordsOnServer Reads the requested records on the server and returns them to the client.
Dn565831.pubmethod(en-us,AX.60).gif Dn565831.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysRecordMapSerializer class.
Top

This class can be used to send a Map containing large numbers of records between the client and server tiers while reducing the amount of memory required for a single method call. The Map that is serialized by this class must:

  • Store the record ID in the key.

  • Store the record buffer in the value.

  • Have only records from the same table.

  • It must be safe to ignore the records stored in the map and retrieve them later from the database using the key.

Object Class
  SysRecordMapSerializer Class

Community Additions

ADD
Show: