Skip to main content

%ExtentMgr.TableStats

persistent class %ExtentMgr.TableStats extends %Library.Persistent [ Final ]

SQL Table Name: %ExtentMgr.TableStats

Property Inventory

Method Inventory

Properties

property ClassName as %String (MAXLEN = 255) [ Required ];
Class name
Property methods: ClassNameDisplayToLogical(), ClassNameGet(), ClassNameGetStored(), ClassNameIsValid(), ClassNameLogicalToDisplay(), ClassNameLogicalToOdbc(), ClassNameNormalize(), ClassNameSet()
property IgnoreFixedStats as %Boolean [ InitialExpression = 0 ];
If this is true even if the table has fixed statistics in the class definition the SQL query optimizer will load in the statistics from the extent database rather than the fixed stats
Property methods: IgnoreFixedStatsDisplayToLogical(), IgnoreFixedStatsGet(), IgnoreFixedStatsGetStored(), IgnoreFixedStatsIsValid(), IgnoreFixedStatsLogicalToDisplay(), IgnoreFixedStatsNormalize(), IgnoreFixedStatsSet()
property LastNumRowsChanged as %Integer [ InitialExpression = 0 ];
The most recent number of rows affected by INSERT, UPDATE, or DELETE statement measured by automatic table statistics collection system task
Property methods: LastNumRowsChangedDisplayToLogical(), LastNumRowsChangedGet(), LastNumRowsChangedGetStored(), LastNumRowsChangedIsValid(), LastNumRowsChangedLogicalToDisplay(), LastNumRowsChangedNormalize(), LastNumRowsChangedSet()
property SkipAutomaticStatsCollection as %Boolean [ InitialExpression = 0 ];
If this is true, this class would be exempted from automated collection
Property methods: SkipAutomaticStatsCollectionDisplayToLogical(), SkipAutomaticStatsCollectionGet(), SkipAutomaticStatsCollectionGetStored(), SkipAutomaticStatsCollectionIsValid(), SkipAutomaticStatsCollectionLogicalToDisplay(), SkipAutomaticStatsCollectionNormalize(), SkipAutomaticStatsCollectionSet()
relationship TableStatsInfo as array of %ExtentMgr.TableStatsInfo [ InitialExpression = $listbuild("%ExtentMgr.TableStatsInfo","TableStats",+$this,"children",1,1) , Transient , Inverse = TableStats , Cardinality = children ];
Property methods: TableStatsInfoGet(), TableStatsInfoGetObject(), TableStatsInfoGetObjectId(), TableStatsInfoGetSwizzled(), TableStatsInfoIsEmpty(), TableStatsInfoIsValid(), TableStatsInfoNewObject(), TableStatsInfoRClose(), TableStatsInfoRExec(), TableStatsInfoRFetch(), TableStatsInfoRelate(), TableStatsInfoSQLCompute(), TableStatsInfoSet(), TableStatsInfoUnRelate()

Methods

method %OnNew(ClassName As %String) as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

classmethod GetIgnoreFixedStats(ClassName As %String) as %Boolean
Get IgnoreFixedStats property of a given class
classmethod GetLastNumRowsChanged(ClassName As %String) as %Integer
Get LastNumRowsChanged property of a given class
classmethod GetSkipAutomaticStatsCollection(ClassName As %String) as %Boolean
Get SkipAutomaticStatsCollection property of a given class

Indexes

index (IDK on ClassName) [IdKey, Type = key];
Index methods: IDKCheck(), IDKDelete(), IDKExists(), IDKOpen(), IDKSQLCheckUnique(), IDKSQLExists(), IDKSQLFindPKeyByConstraint(), IDKSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%ExtentMgr.TableStats)

^rINDEXEXT("Stats")(ID)
=
SkipAutomaticStatsCollection
IgnoreFixedStats
LastNumRowsChanged
FeedbackOpens in a new tab