Home > Class Reference > %SYS namespace > %DeepSee.PMML.Dataset.Cube

%DeepSee.PMML.Dataset.Cube

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

SQL Table Name: %DeepSee_PMML_Dataset.Cube

Property Inventory

Method Inventory

Properties

property CubeName as %String;
Property methods: CubeNameDisplayToLogical(), CubeNameGet(), CubeNameGetStored(), CubeNameIsValid(), CubeNameLogicalToDisplay(), CubeNameLogicalToOdbc(), CubeNameNormalize(), CubeNameSet()
property Filter as %String (MAXLEN = 2000);
Property methods: FilterDisplayToLogical(), FilterGet(), FilterGetStored(), FilterIsValid(), FilterLogicalToDisplay(), FilterLogicalToOdbc(), FilterNormalize(), FilterSet()

Methods

classmethod %Create(pName As %String, pCubeName As %String, ByRef pFields, pFilter As %String = "", Output pSC As %Status) as %DeepSee.PMML.Dataset.Cube [ Language = objectscript ]
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 [ Language = objectscript ]
accepts pFilters(n) = $lb(field, operator, key) returns: pDistribution("total") = tTotalCount pDistribution(n) = $lb(value, count)
method GetRecordIds(Output pRecordIds, ByRef pFilters) as %Status [ Language = objectscript ]
returns pIds(n) = rowid
method GetValueCount(pField As %String, pIncludeNull As %Boolean = 1, ByRef pFilters, Output pSC As %Status) as %Integer [ Language = objectscript ]
Inherited description: Returns the number of distinct values for pField (categorical)
method GetXDDistribution(pFields As %List, Output pDistribution, ByRef pFilters) as %Status [ Language = objectscript ]
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

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%DeepSee.PMML.Dataset.Base)

^%DeepSee.PMML.DatasetD(ID)
=
%%CLASSNAME
Name
IdField
Fields
BootstrapCount

Storage Model: Storage (%DeepSee.PMML.Dataset.Cube)

^%DeepSee.PMML.DatasetD(ID,"CubeDataset")
=
CubeName
Filter