abstract class %SYS.GlobalQuery
extends %SYSTEM.Help
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
|
|
4
|
|
|
|
query DirectoryList(Directory As %String, System As %String, Mask As %String, SystemGlobals As %Boolean, Index As %Integer, IgnoreHasData As %Boolean = 0)
Selects
Name As %String, ResourceName As %String, Permission As %String, Empty As %String, Keep As %String, Collation As %String, PointerBlock As %String, GrowthBlock As %String, HasData As %Boolean, Journal As %String
Returns a list of the Globals in a Cache database
Parameters:
Directory - the directory file-spec for a Cache database file (cache.dat).
System - ECP database server logical name, as defined in the Application Server list.
Mask - a mask, or comma-separated list of masks, to select globals. Default is "*" for all.
SystemGlobals - boolean flag to include system globals in the results. Default is "0".
Index - Internal use only.
IgnoreHasData - For faster list of Globals set this to 1 and the HasData column will always be FALSE.
Valid masks are as follows:
ABC* - All strings starting with ABC
A:D - All strings between A and D
A:D,Y* - All strings between A and D, and all strings starting with Y
A:D,'C* - All strings between A and D, except those starting with C
query NameSpaceList(NameSpace As %String, Mask As %String, SystemGlobals As %Boolean, ByRef UnavailableDatabases As %String, Index As %Integer, IgnoreHasData As %Boolean = 0)
Selects
Name As %String, Location As %String, ResourceName As %String, Permission As %String, Empty As %String, Keep As %String, Collation As %String, PointerBlock As %String, GrowthBlock As %String, HasData As %Boolean, Journal As %String, LockLocation As %String
Returns a list of the Globals in a Cache NameSpace (used for GUI display)
Parameters:
NameSpace - a Cache namespace. Default is current namespace.
Mask - a mask, or comma-separated list of masks, to select globals. Default is "*" for all.
SystemGlobals - boolean flag to include system globals in the results. Default is "0".
UnavailableDatabases - a returned local array of any databases not currently accessible, i.e. array(name)=status.
Index - Internal use only.
IgnoreHasData - For faster list of Globals set this to 1 and the HasData column will always be FALSE.
Valid masks are as follows:
ABC* - All strings starting with ABC
A:D - All strings between A and D
A:D,Y* - All strings between A and D, and all strings starting with Y
A:D,'C* - All strings between A and D, except those starting with C
query NameSpaceListChui(NameSpace As %String, Mask As %String, SystemGlobals As %Boolean, ByRef UnavailableDatabases As %String, Index As %Integer)
Selects
Name As %String, Location As %String, ResourceName As %String, Permission As %String, Empty As %String, Keep As %String, Collation As %String, Ptr As %String, Grth As %String, HasData As %Boolean, Jrn As %String, LockLocation As %String
Returns a list of Globals in a Cache NameSpace (used for terminal display)
Parameters:
NameSpace - a Cache namespace. Default is current namespace.
Mask - a mask, or comma-separated list of masks, to select globals. Default is "*" for all.
SystemGlobals - boolean flag to include system globals in the results. Default is "0".
UnavailableDatabases - a returned local array of any databases not currently accessible, i.e. array(name)=status.
Index - Internal use only.
Valid masks are as follows:
ABC* - All strings starting with ABC
A:D - All strings between A and D
A:D,Y* - All strings between A and D, and all strings starting with Y
A:D,'C* - All strings between A and D, except those starting with C
query Size(Directory As %String, System As %String = "", Mask As %String, SystemGlobals As %Boolean, Index As %Integer, FastFlag As %Boolean)
Selects
Name As %String, Allocated MB As %Float, Used MB As %Float
Returns the size of Globals in a Cache database
Parameters:
Directory - the directory file-spec for a Cache database file (cache.dat).
System - Currently ignored, pass as a null string. Getting the size of a global in an
ECP mounted database is not currently supported. You can get the size for these globals directly
on the ECP server itself.
Mask - a mask, or comma-separated list of masks, to select globals. Default is "*" for all.
SystemGlobals - boolean flag to include system globals in the results. Default is "0".
Index - Internal use only.
FastFlag - Don't return 'Used' count, it would be zero. This is for faster operatopn.
Valid masks are as follows:
ABC* - All strings starting with ABC
A:D - All strings between A and D
A:D,Y* - All strings between A and D, and all strings starting with Y
A:D,'C* - All strings between A and D, except those starting with C