Skip to main content

%iKnow.Objects.VirtualEntityOccurrence

Class %iKnow.Objects.VirtualEntityOccurrence Extends %Persistent [ Deprecated, StorageStrategy = iKnowStorage, System = 4 ]

This is a read-only object representation wrapping the internal iKnow data structures for Entity Occurrences in a Virtual Source.

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.

Parameters

READONLY

Parameter READONLY = 1;

Properties

DomainId

Property DomainId As %Integer;

VirtualSourceId

Property VirtualSourceId As %Integer;

EntOccId

Property EntOccId As %Integer;

EntUniId

Property EntUniId As %Integer;

EntTypeId

Property EntTypeId As %Integer;

SentenceId

Property SentenceId As %Integer;

PosInSentence

Property PosInSentence As %Integer;

CrcOccurrenceIdM

Property CrcOccurrenceIdM As %Integer;

CrcOccurrenceIdR

Property CrcOccurrenceIdR As %Integer;

CrcOccurrenceIdS

Property CrcOccurrenceIdS As %Integer;

PathId

Property PathId As %Integer;

PosInPath

Property PosInPath As %Integer;

Entity

Property Entity As %iKnow.Objects.VirtualEntityUnique [ Calculated, SqlComputeCode = {set {Entity} = {DomainId} _"||"_ {VirtualSourceId} _ "||" _ {EntUniId}}, SqlComputed ];

Sentence

Property Sentence As %iKnow.Objects.VirtualSentence [ Calculated, SqlComputeCode = {set {Sentence} = {DomainId} _"||"_ {VirtualSourceId} _ "||" _ {SentenceId}}, SqlComputed ];