%iKnow.LB.Languagebase
hidden deprecated persistent class %iKnow.LB.Languagebase extends %Library.Persistent
SQL Table Name: %iKnow_LB.Languagebase
Property Inventory
Method Inventory
- AddToHash()
- ClearAll()
- EntryCount()
- GetByName()
- GetEntry()
- GetEntryRaw()
- GetHash()
- GetName()
- Load()
- LoadDir()
- NextEntry()
Properties
property EntryCount as %Integer [ Required ];
Property methods: EntryCount(), EntryCountDisplayToLogical(), EntryCountGet(), EntryCountGetStored(), EntryCountIsValid(), EntryCountLogicalToDisplay(), EntryCountNormalize(), EntryCountSet()
property Hash as %String;
Property methods: HashDisplayToLogical(), HashGet(), HashGetStored(), HashIsValid(), HashLogicalToDisplay(), HashLogicalToOdbc(), HashNormalize(), HashSet()
property Name as %String [ Required ];
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
Methods
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 language bases and their corresponding entries
method EntryCount() as %Integer
classmethod GetByName(name As %String) as Languagebase
Retrieves the Languagebase with the given name, returning "" if not found.
Returns the AbstractEntry of this Languagebase corresponding to the key
Returns the raw (serialized, $list) version of the entry corresponding to the key
method GetHash() as %String
Returns a hash based on the content of this Knowledgebase
method GetName() as %String
Returns the name of the Languagebase
classmethod Load(name As %String, fileName As %String, obfuscate As %Boolean = 1, complete As %Boolean = 0) as Languagebase
classmethod LoadDir(dir As %String, forcemulticompile As %Boolean = "", obfuscate As %Boolean = 1, complete As %Boolean = 0) as %Status
Returns the key for the next entry after that corresponding to the given key.
Returns the empty string if none remain.
Queries
query ScoreOrder(langId As %Integer)
SQL Query:
SELECT %ID FROM Entry Where Languagebase = :langId Order By Score Desc
SELECT %ID FROM Entry Where Languagebase = :langId Order By Score Desc
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()
Storage
Storage Model: Storage (%iKnow.LB.Languagebase)
^%iKnow("LB","LanguagebaseD")(ID) |
= | %%CLASSNAME
Name
EntryCount
Hash
|