%iFind.Entity
persistent class %iFind.Entity extends %Library.Persistent [ Final ]
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
Method Inventory
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
property EntityId as %Integer [ Required ];
Property methods: EntityIdDisplayToLogical(), EntityIdGet(), EntityIdIsValid(), EntityIdLogicalToDisplay(), EntityIdNormalize(), EntityIdSet()
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(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()
Methods
Projected as the stored procedure: GetEntityId
Returns the Entity ID corresponding to the supplied string
classmethod GetStrippedEntityId(pEntity As %String, pOriginalId As %Integer = "", pKeepChars As %String = $$$STRIPKEEP) as %Integer [ SQLProc = GetStrippedEntityId ]
Projected as the stored procedure: 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
- %AddToSaveSet()
- %AddToSyncSet()
- %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()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: CacheSQLStorage
Maps: 2
Map number 1 is named Data
thismap.Global: ^ISC.IF.EntityD
Map number 2 is named ValueIdx
thismap.Global: ^ISC.IF.EntityI
^ISC.IF.EntityD({EntityId})
|
= |
|
^ISC.IF.EntityI(##class(%iFind.Entity).GetWordKey({Value}))
|
= |
|