Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%iKnow] >  [Model] >  [metrics]
Private  Storage   

deprecatedclass %iKnow.Model.metrics extends %iKnow.Model.node

For details on using this class, see NLP Domains.

The %iKnow.Metrics infrastructure is deprecated in favour of the more SQL-oriented approach offered through %iKnow.Tables.Utils, where you can add computed fields at different levels and choose whether they need to be persisted or not.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1


Summary

Properties
autoExecute disabled metrics

Methods
%AddToSaveSet %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %QuoteList %QuoteValue %QuoteValueL10N
%RemoveFromSaveSet %SerializeObject %SetModified %Validate
%ValidateObject XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Properties

• property autoExecute as %Boolean(XMLPROJECTION="ATTRIBUTE");
Whether or not metrics are to be built as part of the Domain Definition's %Build() method. This property is ignored in Metric Definitions (outside of a Domain Definition).
• property disabled as %Boolean(XMLPROJECTION="attribute");
If set to 1, this element is ignored when compiling, validating and building the domain. This property is ignored in Metric Definitions (outside of a Domain Definition).
• relationship metrics as %iKnow.Model.metric(XMLELEMENTREF=1,XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE") [ Inverse = group,Cardinality = many ];

Methods

• method %Validate(pDomainId As %Integer, pDomainDefinition As %iKnow.Model.domain = "") as %Status


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