persistent class %iKnow.Objects.EntityUnique extends %Persistent
Note: the use of this class is no longer recommended for accessing elements of a specific domain. For those scenarios, %iKnow.Tables.Utils offers a more flexible and customizable way of projecting iKnow domain data to SQL
This is a read-only object representation wrapping the internal iKnow data structures for unique Entities.
This class can be used from ObjectScript or SQL to access a single or small number of entries, but the storage mappings are not meant to support elaborate or complex queries targeting this SQL table.
Please use the predefined queries in %iKnow.Queries.EntityAPI and other query classes to consult Entity data as the internal global structures are designed to optimize performance for these queries rather than general-purpose access.
NOTE: This object assumes all underlying data structures are present. Use domain-specific copies of these objects for domains where not all indices are built. See also the GenerateAllObjectsForDomain() method in %iKnow.Objects.Utils.
READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.
This Index only works for strings of up to 150 ($$$IKHASHIZE) charactersindex (EntUniFreqCon on DomainId,CorpusFrequencyAsConcept); index (EntUniFreqRel on DomainId,CorpusFrequencyAsRelation); index (EntUniSpreadCon on DomainId,CorpusSpreadAsConcept); index (EntUniSpreadRel on DomainId,CorpusSpreadAsRelation); index (PKINDEX on DomainId,EntUniId) [IdKey,PrimaryKey,Unique];