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 Class Dictionary.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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

Methods (Including Private)

private classmethod %DeleteData(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]
Inherited description: This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL. Persistent classes using some other storage class, such as %Library.CustomStorage must override this method.
private method %LoadData(queryId As %String) as %Status [ Language = objectscript ]
Inherited description: %LoadData() - loads an object from storage. This method is implemented by the storage class.
private method %SaveData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %SaveData() - saves an object to disk, checks uniqueness and referential integrity constraints, and maintains index structures. This method is implemented by the storage class.
classmethod QueryInfoClose(QHandle As %Binary) as %Status [ Language = objectscript ]
classmethod QueryInfoExecute(ByRef QHandle As %Binary, ClassName As %String) as %Status [ Language = objectscript ]
classmethod QueryInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]

Queries

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

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window