abstract persistent class %DeepSee.PMML.Dataset.Table
extends %DeepSee.PMML.Dataset.Base
method Clear()
as %Status
Clears all temporary structures created by this object.
The dataset should remain usable after calling this method!
method CreateTempTable(ByRef pClassName, ByRef pIndexFields As %Boolean = 1)
as %Status
Use pIndexFields to switch indices for all fields on or off
Use pIndexFields(fieldName) = indexType to override the default of bitmap indices for
categorical and ordinal fields and normal indices for continuous fields.
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 GetAggregatesByCategory(pContField As %String, pCatField As %String, Output pAggregates, ByRef pFilters)
as %Status
Returns an array listing aggregate values for a continuous field pContField for
each value of a categorical field pCatField.
accepts
pFilters(n) = $lb(field, operator, key)
returns:
pAggregates(n) = $lb(category value, count, average, sum, max, min, countNonNull)
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("total") = total
pDistribution("value", dim, i) = value
pDistribution(i, j, ...) = tCount
method SetFields(ByRef pFields, pIdColumn As %String, pMetadata)
as %Status