This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %Library.CompiledQuery

%Library.CompiledQuery

persistent class %Library.CompiledQuery extends %Library.Persistent

SQL Table Name: %Library.CompiledQuery

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.

Property Inventory

Method Inventory

Properties

property ClassName as %CacheString;
A string containing the name of the class the query belongs to.
Property methods: ClassNameGet(), ClassNameIsValid(), ClassNameSet()
property ContainId as %CacheString;
A flag indicating whether the query contains an ID column (1) or not (0).
Property methods: ContainIdGet(), ContainIdIsValid(), ContainIdSet()
property Name as %CacheString;
A string containing the name of the query.
Property methods: NameGet(), NameIsValid(), NameSet()
property RowSpec as %CacheString;
A string containing a comma-delimited list of the columns returned by the query.
Property methods: RowSpecGet(), RowSpecIsValid(), RowSpecSet()
property Type as %CacheString;
A string containing the name of the class used for the implementation of the query.
Property methods: TypeGet(), TypeIsValid(), TypeSet()

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

Inherited Members

Inherited Methods

FeedbackOpens in a new window