Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%DeepSee] >  [FactTable]
Private  Storage   

abstract persistent class %DeepSee.FactTable extends %Persistent, %DeepSee.IndexBuilder

Base class for all DeepSee fact tables.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 8


Summary

Properties
%Concurrency

Methods
%%OIDGet %1Check %AddJrnObjToSyncSet %AddToSaveSet
%AddToSyncSet %BMEBuilt %BindExport %BuildAllFacts
%BuildIndices %BuildObjectGraph %CheckConstraints %CheckConstraintsForExtent
%ClassIsLatestVersion %ClassName %Close %ComposeOid
%ConstructClone %ConstructIndices %ConstructIndicesParallel %ConstructIndicesStartTask
%Count %Delete %DeleteExtent %DeleteFact
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DowngradeConcurrency %ExecuteAfterTriggers %ExecuteBeforeTriggers %Exists
%ExistsId %Extends %FileIndices %GUID
%GUIDSet %GetLock %GetParameter %GetSwizzleObject
%Id %IncrementCount %IsA %IsModified
%IsNull %JournalObject %KillExtent %KillLogFile
%LockExtent %LockId %LogError %New
%NextId %NormalizeObject %ObjectIsNull %ObjectModified
%Oid %OnBeforeAddToSync %OnDetermineClass %Open
%OpenId %OriginalNamespace %PackageName %PrecomputeAggregates
%ProcessFact %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %UpdateFacts %UpgradeConcurrency %ValidateObject


Parameters

• parameter CUBENAME;
Name of the cube that created this fact table.
• parameter MANAGEDEXTENT = 0;
Turn off extent management for fact tables.
• parameter SOURCECLASS;
Name of the source table that provides data for this fact table.

Methods

• abstract classmethod %BuildAllFacts(pVerbose As %Boolean = 0) as %Status
Build all facts with data from the source table.
• abstract classmethod %Count() as %Integer
Return the total number of items within the Fact table.
The actual implementation is generated when the cube is compiled.
• abstract classmethod %DeleteFact(pID As %String, Output pFactId As %Integer, Output pErrorMsg As %String) as %Status
Does the actual work of deleting one fact (with source id pID) from the fact table.
The actual implementation is generated when the cube is compiled.
• classmethod %KillLogFile() as %Status
Kill the update log file.
• classmethod %LogError(pSC As %Status) as %Status
This is called when there is an error in filing data into this cube. It writes the error message to a log file.
• abstract classmethod %PrecomputeAggregates(pStartChunk As %Integer, pEndChunk As %Integer, pAggGLVN As %String, pVerbose As %Boolean = 0, pTaskGroup As %String = "") as %Status
Precalculate certain aggregate values when a cube is built (if the cube's precompute property is set) for the specified range of facts.
Do not call this method directly.
The actual implementation is generated when the cube is compiled. pAggGLVN is the name of the (private) global in which to put the answers.
• abstract classmethod %ProcessFact(pID As %String, pBatchMode As %Boolean = 0, ByRef %var As %String, Output pFactId As %Integer, Output pErrorMsg As %String, ByRef pDimTables, pDimensionsOnly As %Boolean = 0) as %Status
Does the actual work of updating one fact (with source id pID) in the fact table with data in the array %var (which is subscripted by fact name).
The actual implementation is generated when the cube is compiled.
pDimensionsOnly is a special flag used by dimension-preloading.
• abstract classmethod %UpdateFacts(pStartId As %String, pEndId As %String, pBatchMode As %Boolean = 0, ByRef pChunks As %Integer, pVerbose As %Boolean = 0, pTaskGroup As %String = "", Output pUpdates As %Integer, pRefProp As %String = "", pRefID As %String = "", ByRef pDimTables) as %Status
Update a range of Facts with data from the source table row with ids from pStartId to pEndId.
The actual implementation is generated when the cube is compiled.
If pBatchMode is true, then we are building the entire cube from scratch (in parallel).


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.