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

deprecatedpersistent class %Library.CompiledQuery extends %Persistent

Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package. Instead use %Dictionary.CompiledQuery.

This class represents a specific class query description for a compiled class.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 6 1


Summary

Properties
ClassName ContainId Name RowSpec Type

Methods
%AddToSaveSet %AddToSyncSet %BuildDeferredIndices %BuildIndices
%BuildIndicesAsync %BuildIndicesAsyncResponse %CheckConstraints %CheckConstraintsForExtent
%ClassIsLatestVersion %ClassName %ComposeOid %ConstructClone
%Delete %DeleteExtent %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Exists %ExistsId
%Extends %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %IsA
%IsModified %IsNull %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDeleteFinally
%OnDetermineClass %OnOpenFinally %OnSaveFinally %Open
%OpenId %OriginalNamespace %PackageName %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SerializeObject %SetModified
%SortBegin %SortEnd %SyncObjectIn %SyncTransport
%UnlockExtent %UnlockId %ValidateIndices %ValidateObject
%ValidateTable QueryInfoClose QueryInfoExecute QueryInfoFetch


Properties

• property ClassName as %RawString;
A string containing the name of the class the query belongs to.
• property ContainId as %RawString;
A flag indicating whether the query contains an ID column (1) or not (0).
• property Name as %RawString;
A string containing the name of the query.
• property RowSpec as %RawString;
A string containing a comma-delimited list of the columns returned by the query.
• property Type as %RawString;
A string containing the name of the class used for the implementation of the query.

Methods

• classmethod QueryInfoClose(QHandle As %Binary) as %Status
• classmethod QueryInfoExecute(ByRef QHandle As %Binary, ClassName As %String) as %Status
• classmethod QueryInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status

Queries

• query QueryInfo(ClassName As %String)
Selects Name, ContainId


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