%iKnow.KB.Knowledgebase
hidden deprecated persistent class %iKnow.KB.Knowledgebase extends %Library.Persistent, %XML.Adaptor
SQL Table Name: %iKnow_KB.Knowledgebase
Property Inventory
Method Inventory
- AcronymCount()
- AddToHash()
- ClearAll()
- DeleteByName()
- FilterCount()
- GetAcronym()
- GetAlphaBeticLabel()
- GetByName()
- GetCapitalAllLabel()
- GetCapitalInitialLabel()
- GetCapitalMixedLabel()
- GetConceptLabel()
- GetFilter()
- GetHash()
- GetInputFilter()
- GetJoinLabel()
- GetJoinReverseLabel()
- GetKatakanaLabel()
- GetLabel()
- GetLabelByName()
- GetLexrep()
- GetLexrepRaw()
- GetMetadata()
- GetNonSemanticLabel()
- GetNumericLabel()
- GetObjectLabel()
- GetPreprocessFilter()
- GetPrimaryRelationLabel()
- GetProperty()
- GetPropertyId()
- GetPunctuationLabel()
- GetRegexIndex()
- GetRegexPattern()
- GetRelationLabel()
- GetRule()
- GetRuleByEngineId()
- GetSentenceBeginLabel()
- GetSentenceEndLabel()
- GetSpaceLabel()
- GetSubjectLabel()
- GetUnknownLabel()
- ImportFromCSV()
- ImportFromXML()
- ImportItemsFromXML()
- InputFilterCount()
- LabelCount()
- LexrepCount()
- LoadAll()
- LoadDir()
- LoadTableFromCSV()
- MetadataCount()
- MetadataLookup()
- NextAcronym()
- NextFilter()
- NextInputFilter()
- NextLabel()
- NextLexrep()
- NextMetadata()
- NextPreprocessFilter()
- NextProperty()
- NextRule()
- Obfuscate()
- PreprocessFilterCount()
- PropertyCount()
- RegexCount()
- RuleCount()
- Unobfuscate()
- WriteAsXML()
Properties
property ConceptLabel as Label;
Property methods: ConceptLabelGet(), ConceptLabelGetObject(), ConceptLabelGetObjectId(), ConceptLabelGetStored(), ConceptLabelGetSwizzled(), ConceptLabelIsValid(), ConceptLabelNewObject(), ConceptLabelSet(), ConceptLabelSetObject(), ConceptLabelSetObjectId(), ConceptLabelUnSwizzle()
property Hash as %String;
Property methods: HashDisplayToLogical(), HashGet(), HashGetStored(), HashIsValid(), HashLogicalToDisplay(), HashLogicalToOdbc(), HashNormalize(), HashSet()
property Name as %String (XMLPROJECTION = "ATTRIBUTE") [ Required ];
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property RegexpEnabled as %Boolean [ InitialExpression = 0 , Transient ];
Enables regular expressions when loading
Property methods: RegexpEnabledDisplayToLogical(), RegexpEnabledGet(), RegexpEnabledIsValid(), RegexpEnabledLogicalToDisplay(), RegexpEnabledLogicalToXSD(), RegexpEnabledNormalize(), RegexpEnabledSet(), RegexpEnabledXSDToLogical()
Methods
method AcronymCount() as %Integer
method AddToHash(string As %String)
Adds a value to this Knowledgebase's hash. The ultimate hash value is dependent
on the sequence of values passed to this function.
classmethod ClearAll()
Clears all Knowledgebase data
classmethod DeleteByName(kbName As %String)
method FilterCount() as %Integer
method GetAlphaBeticLabel() as Label
classmethod GetByName(name As %String) as Knowledgebase
Retrieves the KB with the given name, returning "" if not found.
method GetCapitalAllLabel() as Label
method GetCapitalInitialLabel() as Label
method GetCapitalMixedLabel() as Label
method GetConceptLabel() as Label
method GetHash() as %String
Returns a hash based on the content of this Knowledgebase
method GetJoinLabel() as Label
method GetJoinReverseLabel() as Label
method GetKatakanaLabel() as Label
method GetNonSemanticLabel() as Label
method GetNumericLabel() as Label
method GetObjectLabel() as Label
method GetPreprocessFilter(key As %String) as PreprocessFilter
method GetPrimaryRelationLabel() as Label
Retrieves an ID for an property name. These must be consistent across versions.
method GetPunctuationLabel() as Label
Returns the index (0-based) of the regex with the given name in this Knowledgebase
This is based on creation order, and will correspond to the offset for the regex
in the shared memory knowledgebase
Retuns -1 if no such regex is found.
Returns the pattern of a given regex index
method GetRelationLabel() as Label
Convert an internal engine rule id for this language into
a rule object.
method GetSentenceBeginLabel() as Label
method GetSentenceEndLabel() as Label
method GetSpaceLabel() as Label
method GetSubjectLabel() as Label
method GetUnknownLabel() as Label
classmethod ImportFromCSV(name As %String, prefix As %String, obfuscate As %Boolean = 1, shmem As %Boolean = 0, complete As %Boolean = 0) as Knowledgebase
classmethod ImportFromXML(fileName As %String) as Knowledgebase
classmethod ImportItemsFromXML(r As %XML.Reader, kb As Knowledgebase, collectionName As %String, className As %String, keyPropertyName As %String = "")
method InputFilterCount() as %Integer
method LabelCount() as %Integer
method LexrepCount() as %Integer
classmethod LoadAll(obfuscate As %Boolean = 0)
Load all knowledgebases and languagebases from source, using the known source root
classmethod LoadDir(dir As %String, forcemulticompile As %Boolean = "", obfuscate As %Boolean = 1, shmem As %Boolean = 0, complete As %Boolean = 0) as %Status
classmethod LoadTableFromCSV(fileName As %String, className As %String, kb As Knowledgebase) as %Boolean
method MetadataCount() as %Integer
method PreprocessFilterCount() as %Integer
method PropertyCount() as %Integer
method RegexCount() as %Integer
method RuleCount() as %Integer
method WriteAsXML()
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NameIndex on Name) [Unique];
Index methods: NameIndexCheck(), NameIndexCheckUnique(), NameIndexDelete(), NameIndexExists(), NameIndexOpen(), NameIndexSQLCheckUnique(), NameIndexSQLExists(), NameIndexSQLFindPKeyByConstraint(), NameIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %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()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (%iKnow.KB.Knowledgebase)
^%iKnow("KB","KnowledgebaseD")(ID) |
= | %%CLASSNAME
Name
ConceptLabel
RelationLabel
UnknownLabel
PunctuationLabel
SentenceBeginLabel
SentenceEndLabel
Hash
|