Skip to main content

%iKnow.Objects.VirtualSentence

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

This is a read-only object representation wrapping the internal iKnow data structures for sentences 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.SentenceAPI and other query classes to consult sentence 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;

SentenceId

Property SentenceId As %Integer;

SentenceValue

Property SentenceValue As %String(MAXLEN = 32000) [ Calculated, SqlComputeCode = {set {SentenceValue} = ##class(%iKnow.Queries.SentenceAPI).GetValue({DomainId},{SentenceId},,{VirtualSourceId})}, SqlComputed ];

LanguageId

Property LanguageId As %Integer;

LanguageConfidence

Property LanguageConfidence As %Numeric;

SummaryRelevance

Property SummaryRelevance As %Numeric;

Source

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