This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


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

SQL Table Name: %DeepSee_PMML_Dataset.Cube

Property Inventory

Method Inventory


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()


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
Inherited description: 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

Inherited Members

Inherited Properties

Inherited Methods


Gray indicates storage defined by superclasses.

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


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