%iFind.Entity
persistent class %iFind.Entity extends %Library.Persistent
SQL Table Name: %iFind.Entity
This table contains all entities identified by iFind Semantic or Analytic indices in this namespace using namespace-wide shared storage (cf the IFINDSHAREDSTORAGELOCATION parameter in %iFind.Index.Basic).Property Inventory (Including Private)
Method Inventory (Including Private)
Parameters
parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted.
Tables are projected to SQL as READONLY.
Properties (Including Private)
property EntityId as %Integer [ Required ];
Property methods: EntityIdDisplayToLogical(), EntityIdGet(), EntityIdIsValid(), EntityIdLogicalToDisplay(), EntityIdNormalize(), EntityIdSet(), EntityIdxCheck(), EntityIdxDelete(), EntityIdxExists(), EntityIdxOpen(), EntityIdxSQLCheckUnique(), EntityIdxSQLExists(), EntityIdxSQLFindPKeyByConstraint(), EntityIdxSQLFindRowIDByConstraint()
property StrippedEntityId as %iFind.Entity [ Calculated ];
Calculated property returning the entity ID of the entity corresponding to this row, with all words
stripped of leading and trailing punctuation. If no such entity exists, this
record's entity ID is returned.
Property methods: StrippedEntityIdCompute(), StrippedEntityIdGet(), StrippedEntityIdGetObject(), StrippedEntityIdGetObjectId(), StrippedEntityIdSQLCompute()
property Value as %String (COLLATION = "EXACT");
String value for this entity
Property methods: ValueDisplayToLogical(), ValueGet(), ValueIdxCheck(), ValueIdxCheckUnique(), ValueIdxDelete(), ValueIdxExists(), ValueIdxOpen(), ValueIdxSQLCheckUnique(), ValueIdxSQLExists(), ValueIdxSQLFindPKeyByConstraint(), ValueIdxSQLFindRowIDByConstraint(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()
Methods (Including Private)
classmethod GetEntityId(pValue As %String) as %Integer [ Language = objectscript, SQLProc = GetEntityId ]
Returns the Entity ID corresponding to the supplied string
classmethod GetStrippedEntityId(pEntity As %String, pOriginalId As %Integer = "", pKeepChars As %String = $$$STRIPKEEP) as %Integer [ Language = objectscript, SQLProc = GetStrippedEntityId ]
Returns the Entity ID corresponding to the supplied string, after stripping off punctuation.
If no such entity exists, pOriginalId is returned.
Indexes
index (EntityIdx on EntityId) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: EntityIdxCheck(), EntityIdxDelete(), EntityIdxExists(), EntityIdxOpen(), EntityIdxSQLCheckUnique(), EntityIdxSQLExists(), EntityIdxSQLFindPKeyByConstraint(), EntityIdxSQLFindRowIDByConstraint()
index (ValueIdx on Value) [Type = key, Unique];
Index methods: ValueIdxCheck(), ValueIdxCheckUnique(), ValueIdxDelete(), ValueIdxExists(), ValueIdxOpen(), ValueIdxSQLCheckUnique(), ValueIdxSQLExists(), ValueIdxSQLFindPKeyByConstraint(), ValueIdxSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods (Including Private)
- %AcquireLock()
- %AddToSaveSet()
- %AddToSyncSet()
- %BuildDeferredIndices()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %ConstructCloneInit()
- %Delete()
- %DeleteData()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadData()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnAddToSaveSet()
- %OnAfterBuildIndices()
- %OnAfterDelete()
- %OnAfterPurgeIndices()
- %OnAfterSave()
- %OnBeforeAddToSync()
- %OnBeforeBuildIndices()
- %OnBeforePurgeIndices()
- %OnBeforeSave()
- %OnClose()
- %OnConstructClone()
- %OnDelete()
- %OnDetermineClass()
- %OnJournalObject()
- %OnNew()
- %OnOpen()
- %OnReload()
- %OnRollBack()
- %OnValidateObject()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PurgeIndices()
- %ReleaseLock()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveData()
- %SaveDirect()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
Storage
Storage Model: SQLStorage
Maps: 2
Map number 1 is named Data
thismap.Global: ^IRIS.IF.EntityD
Map number 2 is named ValueIdx
thismap.Global: ^IRIS.IF.EntityI
^IRIS.IF.EntityD({EntityId})
|
= |
|
^IRIS.IF.EntityI(##class(%iFind.Entity).GetWordKey({Value}))
|
= |
|