%DeepSee.extensions.modelling.TableGenerator
Class %DeepSee.extensions.modelling.TableGenerator Extends Base [ System = 4 ]
Properties
config
Property config As %DeepSee.extensions.modelling.conf.Table;
AttrRS
Property AttrRS As %IResultSet;
AttrValueList
Property AttrValueList As %List;
AttrDisplayList
Property AttrDisplayList As %List;
AttrTypeList
Property AttrTypeList As %List;
AttrArray
Property AttrArray [ MultiDimensional ];
Methods
setConfig
Method setConfig(conf As %DeepSee.extensions.modelling.conf.Table) As %Status
setAttrResultSet
Method setAttrResultSet(rs As %IResultSet) As %Status
setAttrList
Method setAttrList(valueList As %List, displayList As %List = "") As %Status
setAttrListFromConfig
Method setAttrListFromConfig() As %Status
setAttrArray
Method setAttrArray(ByRef array) As %Status
apply
Method apply() As %Status
genClassifierTable
Method genClassifierTable() As %Status
genAttributes
Method genAttributes(classDef As %Dictionary.ClassDefinition, Output dim As %Integer) As %Status
genClassifierTableBody
Method genClassifierTableBody(classDef As %Dictionary.ClassDefinition, dim As %Integer) As %Status
AddPMMLDataField
Method AddPMMLDataField(pName As %String, pDataType As %String, pOptype As %String = "continuous", pDisplayName As %String = "") As %Status
createNewClass
ClassMethod createNewClass(className As %String, Output classDef As %Dictionary.ClassDefinition) As %Status
deleteIfExists
ClassMethod deleteIfExists(className As %String) As %Status
relate
ClassMethod relate(parent As %String, child As %String, pProp As %String, cProp As %String, idx As %Boolean) As %Status
addProperty
ClassMethod addProperty(classDef As %Dictionary.ClassDefinition, name As %String, type As %String, maxlen As %Integer = 0, collation As %String = "", valuelist As %String = "", isRequired As %Boolean = 0, Output propDef As %Dictionary.PropertyDefinition, pDefaultValue As %String = "") As %Status
addCollection
ClassMethod addCollection(classDef As %Dictionary.ClassDefinition, name As %String, type As %String, ctype As %String, storage As %String = "") As %Status
addMethod
ClassMethod addMethod(classDef As %Dictionary.ClassDefinition, name As %String, type As %String, plist As %String, code As %List, static As %Boolean = 0) As %Status
addCompProperty
ClassMethod addCompProperty(classDef As %Dictionary.ClassDefinition, name As %String, type As %String, code As %String, collation As %String = "") As %Status
addXData
ClassMethod addXData(classDef As %Dictionary.ClassDefinition, name As %String, content As %XML.Adaptor) As %Status
addParameter
ClassMethod addParameter(classDef As %Dictionary.ClassDefinition, name As %String, type As %String, value As %String) As %Status
addIndex
ClassMethod addIndex(classDef As %Dictionary.ClassDefinition, name As %String, properties As %String, isUnique As %Boolean = 0, isPK As %Boolean = 0, isBitmap As %Boolean = 0) As %Status
addIDKey
ClassMethod addIDKey(classDef As %Dictionary.ClassDefinition, name As %String, properties As %String) As %Status
compile
ClassMethod compile(classDef As %Dictionary.ClassDefinition, Output tableName As %String, flags As %String = "") As %Status
dts
ClassMethod dts(ts1 As %TimeStamp, ts2 As %TimeStamp) As %Double
TableName
ClassMethod TableName(className As %String, Output tableName As %String) As %Status
getType
ClassMethod getType(class As %String, column As %String, Output type As %String)
idColumn
ClassMethod idColumn(class As %String, Output sc As %Status) As %String
propertyName
ClassMethod propertyName(name As %String) As %String
bestKey
ClassMethod bestKey(class As %String, Output column As %String, Output id1 As %String) As %Status