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

abstract class Ens.DataTransformDTL extends Ens.DataTransform

This class provides the framework for defining a data transformation by encoding the operations in the data transform language (DTL)

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 5


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
Contains ConvertDateTime CurrentDateTime DoesNotContain
DoesNotIntersectList DoesNotMatch DoesNotStartWith Exists
GetSourceDocType GetSourceType GetTargetDocType GetTargetType
If In InFile InFileColumn
IntersectsList Length Like Lookup
Matches Max Min Not
NotIn NotInFile NotLike Pad
Piece RegexMatch ReplaceStr Round
Rule Schedule StartsWith Strip
SubString ToLower ToUpper Transform
Translate replace

Subclasses
Ens.SSH.InteractiveAuth.DTL Ens.Util.DTL.Audit.MessageView

Parameters

• parameter IGNOREMISSINGSOURCE = 0;
Override this parameter to 1 in your DTL subclass to make it ignore errors resulting from an attempt to use a value from a source property or virtual property that does not exist in the provided source object
• parameter REPORTERRORS = 0;
Override this parameter to 1 in your DTL subclass to make it log and return all errors encountered while executing the transform. When this parameter is set to 0 the DTL will silently log them as Trace messages with category 'xform'.
• parameter TREATEMPTYREPEATINGFIELDASNULL = 0;
Override this parameter to 1 in your DTL subclass to prevent 'for each' loops from being implemented when the property to iterate over is a repeating field and that field is empty

Methods

• classmethod GetSourceDocType() as %String
Return the virtual document type of the source document. This is used by the Test Transform dialog to determine whether the initial document should have a DocType assigned. A return value of the empty string (i.e. "") indicates no DocType should be used.
• classmethod GetSourceType() as %String
• classmethod GetTargetDocType() as %String
Return the virtual document type of the target document. This is used by the Test Transform dialog to determine whether the document produced by the transform should have a DocType assigned. A return value of the empty string (i.e. "") indicates no DocType should be used.
• classmethod GetTargetType(Output pCreate As %String) as %String
• classmethod Transform(source As %RegisteredObject, ByRef target As %RegisteredObject, ByRef aux="") as %Status
Transform an input object into an output object


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