Home > Class Reference > ENSLIB namespace > %Library.CompiledQuery
Private  Storage   


persistent class %Library.CompiledQuery extends %Persistent

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

This class represents a specific class query description for a compiled class contained within the Caché Dictionary.

For more information on class definition classes, refer to About Class Definition Classes.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 3 1


ClassName ContainId Name RowSpec Type

%AddToSaveSet %AddToSyncSet %BuildIndices %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
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject QueryInfoClose QueryInfoExecute


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


• 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


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