Skip to main content

%iKnow.Objects.Source

deprecated persistent class %iKnow.Objects.Source extends %Library.Persistent

SQL Table Name: %iKnow_Objects.Source

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 Sources.

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.SourceAPI and other query classes to consult source 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.

Property 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 CrcOccurrenceCount as %Integer [ Calculated ];
Property methods: CrcOccurrenceCountCompute(), CrcOccurrenceCountDisplayToLogical(), CrcOccurrenceCountGet(), CrcOccurrenceCountIsValid(), CrcOccurrenceCountLogicalToDisplay(), CrcOccurrenceCountNormalize(), CrcOccurrenceCountSQLCompute()
property DomainId as %Integer [ Required ];
Property methods: DomainIdDisplayToLogical(), DomainIdGet(), DomainIdIsValid(), DomainIdLogicalToDisplay(), DomainIdNormalize(), DomainIdSet()
property EntityOccurrenceCount as %Integer [ Calculated ];
Property methods: EntityOccurrenceCountCompute(), EntityOccurrenceCountDisplayToLogical(), EntityOccurrenceCountGet(), EntityOccurrenceCountIsValid(), EntityOccurrenceCountLogicalToDisplay(), EntityOccurrenceCountNormalize(), EntityOccurrenceCountSQLCompute()
property ExternalId as %String (MAXLEN = 2000) [ Calculated ];
Property methods: ExternalIdCompute(), ExternalIdDisplayToLogical(), ExternalIdGet(), ExternalIdIsValid(), ExternalIdLogicalToDisplay(), ExternalIdLogicalToOdbc(), ExternalIdNormalize(), ExternalIdSQLCompute()
property FirstCrcOccurrenceId as %Integer [ Calculated ];
Property methods: FirstCrcOccurrenceIdCompute(), FirstCrcOccurrenceIdDisplayToLogical(), FirstCrcOccurrenceIdGet(), FirstCrcOccurrenceIdIsValid(), FirstCrcOccurrenceIdLogicalToDisplay(), FirstCrcOccurrenceIdNormalize(), FirstCrcOccurrenceIdSQLCompute()
property FirstPartId as %Integer [ Calculated ];
Property methods: FirstPartIdCompute(), FirstPartIdDisplayToLogical(), FirstPartIdGet(), FirstPartIdIsValid(), FirstPartIdLogicalToDisplay(), FirstPartIdNormalize(), FirstPartIdSQLCompute()
property FirstPathId as %Integer [ Calculated ];
Property methods: FirstPathIdCompute(), FirstPathIdDisplayToLogical(), FirstPathIdGet(), FirstPathIdIsValid(), FirstPathIdLogicalToDisplay(), FirstPathIdNormalize(), FirstPathIdSQLCompute()
property FirstSentenceId as %Integer [ Calculated ];
Property methods: FirstSentenceIdCompute(), FirstSentenceIdDisplayToLogical(), FirstSentenceIdGet(), FirstSentenceIdIsValid(), FirstSentenceIdLogicalToDisplay(), FirstSentenceIdNormalize(), FirstSentenceIdSQLCompute()
property FullText as %String) [ Calculated ];
Property methods: FullTextCompute(), FullTextDisplayToLogical(), FullTextGet(), FullTextIsValid(), FullTextLogicalToDisplay(), FullTextLogicalToOdbc(), FullTextNormalize(), FullTextSQLCompute()
property GroupId as %Integer;
Property methods: GroupIdDisplayToLogical(), GroupIdGet(), GroupIdIsValid(), GroupIdLogicalToDisplay(), GroupIdNormalize(), GroupIdSet()
property ListerId as %Integer;
Property methods: ListerIdDisplayToLogical(), ListerIdGet(), ListerIdIsValid(), ListerIdLogicalToDisplay(), ListerIdNormalize(), ListerIdSet()
property LocalReference as %String (MAXLEN = 1000);
Property methods: LocalReferenceDisplayToLogical(), LocalReferenceGet(), LocalReferenceIsValid(), LocalReferenceLogicalToDisplay(), LocalReferenceLogicalToOdbc(), LocalReferenceNormalize(), LocalReferenceSet()
property PartCount as %Integer [ Calculated ];
Property methods: PartCountCompute(), PartCountDisplayToLogical(), PartCountGet(), PartCountIsValid(), PartCountLogicalToDisplay(), PartCountNormalize(), PartCountSQLCompute()
property PathCount as %Integer [ Calculated ];
Property methods: PathCountCompute(), PathCountDisplayToLogical(), PathCountGet(), PathCountIsValid(), PathCountLogicalToDisplay(), PathCountNormalize(), PathCountSQLCompute()
property SentenceCount as %Integer [ Calculated ];
Property methods: SentenceCountCompute(), SentenceCountDisplayToLogical(), SentenceCountGet(), SentenceCountIsValid(), SentenceCountLogicalToDisplay(), SentenceCountNormalize(), SentenceCountSQLCompute()
property SourceId as %Integer [ Required ];
Property methods: SourceIdDisplayToLogical(), SourceIdGet(), SourceIdIsValid(), SourceIdLogicalToDisplay(), SourceIdNormalize(), SourceIdSet()

Indexes

index (PKINDEX on DomainId,SourceId) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: PKINDEXCheck(), PKINDEXDelete(), PKINDEXExists(), PKINDEXOpen(), PKINDEXSQLCheckUnique(), PKINDEXSQLExists(), PKINDEXSQLFindPKeyByConstraint(), PKINDEXSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named MainMap

    thismap.Global: ^IRIS.IK.SrcId

  • ^IRIS.IK.SrcId({DomainId},{SourceId})
    =
    Node Delimiter Piece Name
    1 ListerId
    2 GroupId
    3 LocalReference
FeedbackOpens in a new tab