Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %DeepSee.PMML.Dataset.Cube
Private  Storage   

%DeepSee.PMML.Dataset.Cube


persistent class %DeepSee.PMML.Dataset.Cube extends
%DeepSee.PMML.Dataset.Base

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 10


Summary


Properties
BootstrapCount CubeName Fields Filter IdField
Name

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion
%ClassName %ComposeOid %ConstructClone %Create
%Delete %DeleteExtent %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Exists %ExistsId
%Extends %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %InsertBatch
%IsA %IsModified %IsNull %KillExtent
%KillExtentData %LoadFromMemory %LockExtent %LockId
%New %NormalizeObject %ObjectIsNull %ObjectModified
%Oid %OnBeforeAddToSync %OnDetermineClass %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject Clear ClearBootstraps
GenerateBootstraps Get1DDistribution GetAggregatesByCategory GetBootstrap
GetFieldBySpec GetRecordIds GetValueCount GetXDDistribution
HasField


Properties


• property CubeName as %String;
• property Filter as %String(MAXLEN=2000);

Methods


• classmethod %Create(pName As %String, pCubeName As %String, ByRef pFields, pFilter As %String = "", Output pSC As %Status) as %DeepSee.PMML.Dataset.Cube
pFields is an array of the cube levels and measures to be included in the dataset pFields(n) = $lb(name, spec, tDataType, tOpType) Field spec is MDX level spec [].[].[]
• method Get1DDistribution(pField As %String, Output pDistribution, ByRef pFilters) as %Status
accepts pFilters(n) = $lb(field, operator, key) returns: pDistribution("total") = tTotalCount pDistribution(n) = $lb(value, count)
• method GetRecordIds(Output pRecordIds, ByRef pFilters) as %Status
returns pIds(n) = rowid
• method GetValueCount(pField As %String, pIncludeNull As %Boolean = 1, ByRef pFilters, Output pSC As %Status) as %Integer
Returns the number of distinct values for pField (categorical)
• method GetXDDistribution(pFields As %List, Output pDistribution, ByRef pFilters) as %Status
accepts pFilters(n) = $lb(field, operator, key) returns: pDistribution = $lb(dim1Count, dim2Count, ...) pDistribution("value", dim, i) = value pDistribution(i, j, ...) = tCount pDistribution("total", dim, i) = tDimTotal