Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsLib] >  [RecordMap] >  [RecordMap]
Private  Storage   

class EnsLib.RecordMap.RecordMap extends %RegisteredObject

Base class for RecordMap parsers, which are generated based on the content of RecordMaps

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 22 1


Summary

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DeleteRecordMap Escape Exists GetGeneratedClasses
GetObject GetRecordIdentifier GetRecordType ListClose
ListExecute ListFetch PutObject getIdentifier
getType


Parameters

• parameter OBJECTNAME;

Methods

• classmethod DeleteRecordMap(pRecordMap As %String = "", pRemoveTargetClass As %Boolean = 0, pRemoveTargetExtent As %Boolean = 0, pLeaveClassDeleteToCaller As %Boolean = 0, Output pTargetClass As %String = "") as %Status
Delete an existing RecordMap, and optionally delete the target class definition and the target class's extent.
The option to remove the extent is only evaluated if the target class is also being deleted, otherwise the option is ignored.
The input parameter pLeaveClassDeleteToCaller & output parameter pTargetClass allow the caller to delete the RecordMap class and optional delete of TargetClass within a separate Source Control aware API.
• classmethod Escape(pData As %String, pSeps As %List, pEscaping As %String, pEscSequence As %String) as %String
• classmethod Exists(name As %String) as %Boolean
Check for the existence of a specific RecordMap.
• classmethod GetGeneratedClasses(Output pClasses As %String) as %Status
• abstract classmethod GetObject(pStream As %IO.DeviceStream, Output pObject As %RegisteredObject, pTimeout As %Numeric = -1, ByRef pLookAhead As %String = "", pLabelFound As %Boolean = 0) as %Status
Method to retrieve a record from a stream or device. This method will be generated based on the structure of the RecordMap. For testing purposes, a file name may be passed in the pStream argument.
• classmethod GetRecordIdentifier(pRecordMap As %String = "") as %String
• classmethod GetRecordType(pRecordMap As %String = "") as EnsLib.RecordMap.Model.DataType.RecordType
• classmethod ListClose(ByRef qHandle As %Binary) as %Status
• classmethod ListExecute(ByRef qHandle As %Binary) as %Status
• classmethod ListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
• abstract classmethod PutObject(pStream As %IO.DeviceStream, pObject As %RegisteredObject, pFlush As %Boolean = 1, ByRef pPadArray As %String) as %Status
Method to write a record to a stream or device. This method will be generated based on the structure of the RecordMap. For testing purposes, a file name may be passed in the pStream argument.
• abstract classmethod getIdentifier() as %String
• abstract classmethod getType() as EnsLib.RecordMap.Model.DataType.RecordType

Queries

• query List()
Selects name As %String, modified As %TimeStamp, size As %Integer
List the existing RecordMap definitions.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.