Skip to main content

%Dictionary.CompiledStorageShardKey

Class %Dictionary.CompiledStorageShardKey Extends %Persistent [ StorageStrategy = custom, System = 2 ]

Parameters

SQLENABLED

Parameter SQLENABLED = 1;

Properties

parent

Relationship parent As %Dictionary.CompiledStorage [ Cardinality = parent, Inverse = ShardKeies ];

Pointer to the containing parent object

%isDefined

Property %isDefined As %RawString [ MultiDimensional, Private, Transient ];

Stores the DEFINED state of each attribute.

CoshardWith

Property CoshardWith As %RawString;

Specifies the class with which to coshard this class

KeywordError

Property KeywordError As %Boolean;

KeywordError

KeywordModified

Property KeywordModified As %Boolean;

KeywordModified

Name

Property Name As %RawString [ Required ];

Specifies the name of the shard key

Properties

Property Properties As %RawString;

Specifies the properties of the shard key

Triggers

OnInsertUpdate

Trigger OnInsertUpdate [ Event = INSERT/UPDATE ]

OnDelete

Trigger OnDelete [ Event = DELETE ]

Methods

%OnNew

Method %OnNew(name As %String) As %Status [ Private ]

%LockId

ClassMethod %LockId(id As %String, shared As %Boolean = 0, timeout As %Integer) As %Status

%UnlockId

ClassMethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) As %Status

%Exists

ClassMethod %Exists(oid As %ObjectIdentity) As %Boolean

%LoadData

Method %LoadData(id As %String) As %Status [ Private ]

%SaveData

Method %SaveData(id As %String) As %Status [ Private ]

%DeleteData

ClassMethod %DeleteData(id As %String, concurrency As %Integer) As %Status [ Private ]

CoshardWithSet

Method CoshardWithSet(value As %String = "") As %Status

CoshardWithReset

Method CoshardWithReset()

CoshardWithIsDefined

Method CoshardWithIsDefined() As %Boolean

NameSet

Method NameSet(value As %String = "") As %Status

NameReset

Method NameReset()

NameIsDefined

Method NameIsDefined() As %Boolean

PropertiesSet

Method PropertiesSet(value As %String = "") As %Status

PropertiesReset

Method PropertiesReset()

PropertiesIsDefined

Method PropertiesIsDefined() As %Boolean

parentOnDelete

ClassMethod parentOnDelete(id As %String, concurrency As %Integer) As %Status