INFORMATION.SCHEMA.STATEMENTLOCATIONS
persistent class INFORMATION.SCHEMA.STATEMENTLOCATIONS extends %Library.Persistent, %XML.Adaptor [ Final ]
SQL Table Name: INFORMATION_SCHEMA.STATEMENT_LOCATIONS
Returns one row location (routine, class) that has an SQL Statement. This is a child table of INFORMATION_SCHEMA.STATEMENTS as a statement may be found in multiple locations.Property Inventory
Parameters
parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted.
Tables are projected to SQL as READONLY.
Properties
property Location as %String (MAXLEN = 128) [ Required ];
Routine or classname the SQL Statement reside in
Property methods: LocationDisplayToLogical(), LocationGet(), LocationIsValid(), LocationLogicalToDisplay(), LocationLogicalToOdbc(), LocationNormalize(), LocationSet()
property RuntimeLocation as %String (MAXLEN = 128);
Runtime location of SQL logic, for universal cached queries will be different to Location
Property methods: RuntimeLocationDisplayToLogical(), RuntimeLocationGet(), RuntimeLocationIsValid(), RuntimeLocationLogicalToDisplay(), RuntimeLocationLogicalToOdbc(), RuntimeLocationNormalize(), RuntimeLocationSet()
relationship Statement as INFORMATION.SCHEMA.STATEMENTS [ Required , Inverse = Locations , Cardinality = parent ];
Parent reference to the SQL Statement
Property methods: StatementGet(), StatementGetObject(), StatementGetObjectId(), StatementGetSwizzled(), StatementIsValid(), StatementNewObject(), StatementOnDelete(), StatementRClose(), StatementRExec(), StatementRFetch(), StatementRelate(), StatementSQLCompute(), StatementSet(), StatementSetObject(), StatementSetObjectId(), StatementUnRelate(), StatementUnSwizzle()
property Type as %String (MAXLEN = 10);
Type of location: Class (CLS), Routine (RTN), etc.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
Indexes
index (StatementRelationsIDKey on Location) [IdKey, Type = key];
Index methods: StatementRelationsIDKeyCheck(), StatementRelationsIDKeyDelete(), StatementRelationsIDKeyExists(), StatementRelationsIDKeyOpen(), StatementRelationsIDKeySQLCheckUnique(), StatementRelationsIDKeySQLExists(), StatementRelationsIDKeySQLFindPKeyByConstraint(), StatementRelationsIDKeySQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BuildDeferredIndices()
- %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()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Gray indicates storage defined by superclasses.
Storage Model: SQLStorage
Maps: 2
Map number 1 is named LocationIndex
thismap.Global: ^rINDEXSQL
Map number 2 is named Master
thismap.Global: ^rINDEXSQL
^rINDEXSQL("sqlidx",2,{Location},{INFORMATION_SCHEMA.STATEMENTS.Hash})
|
= |
|
^rINDEXSQL("sqlidx",1,{INFORMATION_SCHEMA.STATEMENTS.Hash},"rtn",{Location})
|
= |
|