Ens.Rule.Compiler
class Ens.Rule.Compiler extends %Library.RegisteredObject
Legacy: Provided the ability to compile persistent rule definitions into routines.Property Inventory
Method Inventory
Properties
property Code as %GlobalCharacterStream [ Transient ];
This holds the generated code
Property methods: CodeDelete(), CodeGet(), CodeGetObject(), CodeGetObjectId(), CodeGetSwizzled(), CodeIsValid(), CodeNewObject(), CodeOid(), CodeOpen(), CodeSet(), CodeSetObject(), CodeSetObjectId(), CodeUnSwizzle()
Methods
classmethod AllocateRoutineName() as %String
Returns a routine name in which compiled rule can be placed.
classmethod CompileRule(pRuleDef As RuleDefinition, pRoutineName As %String) as %Status
Generate executable code for the given rule definition
and store it into routine pRoutineName.
Delete the given routine from the rule cache
Return a rule cache routine name
Try to use values that collate
classmethod PurgeRuleCache() as %Status
Delete all routines from Rule Cache
Inherited Members
Inherited 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()