Skip to main content

%iKnow.Objects.VirtualCrcUnique

persistent class %iKnow.Objects.VirtualCrcUnique extends %Library.Persistent

SQL Table Name: %iKnow_Objects.VirtualCrcUnique

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

This class can be used from Cache 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.CrcAPI and other query classes to consult CRC data as the internal global structures are designed to optimize performance for these queries rather than general-purpose access.

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 CrcUniId as %Integer [ Required ];
Property methods: CrcUniIdDisplayToLogical(), CrcUniIdGet(), CrcUniIdIsValid(), CrcUniIdLogicalToDisplay(), CrcUniIdNormalize(), CrcUniIdSet()
property DomainId as %Integer [ Required ];
Property methods: DomainIdDisplayToLogical(), DomainIdGet(), DomainIdIsValid(), DomainIdLogicalToDisplay(), DomainIdNormalize(), DomainIdSet()
property Frequency as %Integer [ Calculated ];
Property methods: FrequencyCompute(), FrequencyDisplayToLogical(), FrequencyGet(), FrequencyIsValid(), FrequencyLogicalToDisplay(), FrequencyNormalize(), FrequencySQLCompute()
property Master as %iKnow.Objects.VirtualEntityUnique [ Calculated ];
Property methods: MasterCompute(), MasterGet(), MasterGetObject(), MasterGetObjectId(), MasterSQLCompute()
property MasterId as %Integer;
Property methods: MasterIdDisplayToLogical(), MasterIdGet(), MasterIdIsValid(), MasterIdLogicalToDisplay(), MasterIdNormalize(), MasterIdSet()
property RealCrcUniId as %Integer [ Calculated ];
Property methods: RealCrcUniIdCompute(), RealCrcUniIdDisplayToLogical(), RealCrcUniIdGet(), RealCrcUniIdIsValid(), RealCrcUniIdLogicalToDisplay(), RealCrcUniIdNormalize(), RealCrcUniIdSQLCompute()
property Relation as %iKnow.Objects.VirtualEntityUnique [ Calculated ];
Property methods: RelationCompute(), RelationGet(), RelationGetObject(), RelationGetObjectId(), RelationSQLCompute()
property RelationId as %Integer;
Property methods: RelationIdDisplayToLogical(), RelationIdGet(), RelationIdIsValid(), RelationIdLogicalToDisplay(), RelationIdNormalize(), RelationIdSet()
property Slave as %iKnow.Objects.VirtualEntityUnique [ Calculated ];
Property methods: SlaveCompute(), SlaveGet(), SlaveGetObject(), SlaveGetObjectId(), SlaveSQLCompute()
property SlaveId as %Integer;
Property methods: SlaveIdDisplayToLogical(), SlaveIdGet(), SlaveIdIsValid(), SlaveIdLogicalToDisplay(), SlaveIdNormalize(), SlaveIdSet()
property VirtualSourceId as %Integer [ Required ];
Property methods: VirtualSourceIdDisplayToLogical(), VirtualSourceIdGet(), VirtualSourceIdIsValid(), VirtualSourceIdLogicalToDisplay(), VirtualSourceIdNormalize(), VirtualSourceIdSet()

Indexes

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

Inherited Members

Inherited Methods

Storage

Storage Model: CacheSQLStorage

Maps: 1

  • Map number 1 is named MainMap

    thismap.Global: ^ISC.IKV.CrcUniId

  • ^ISC.IKV.CrcUniId({DomainId},{VirtualSourceId},{CrcUniId})
    =
    Node Delimiter Piece Name
    1 MasterId
    2 RelationId
    3 SlaveId
FeedbackOpens in a new tab