Skip to main content

%Dictionary.StorageDataDefinition

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

Parameters

SQLENABLED

Parameter SQLENABLED = 1;

Properties

parent

Relationship parent As %Dictionary.StorageDefinition [ Cardinality = parent, Inverse = Data ];

Pointer to the containing parent object

%isDefined

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

Stores the DEFINED state of each attribute.

Attribute

Property Attribute As %RawString;

Attribute

ColumnarGlobal

Property ColumnarGlobal As %RawString;

Specifies the name of the global this Columnar column is stored in.

DataDefinitionLocation

Property DataDefinitionLocation As %RawString;

Specifies the name of the global to store this field in.

Name

Property Name As %RawString [ Required ];

Specifies the name of the StorageData definition. This name must be a valid storage member name and must not conflict with any other StorageData names.

SmallChunkSize

Property SmallChunkSize As %Integer [ InitialExpression = 0 ];

Specifies the size of the small chunk for this colmnar string field.

Structure

Property Structure As %RawString [ InitialExpression = "listnode" ];

Specifies how the data is stored into a global node.

Subscript

Property Subscript As %RawString;

Subscript

Values

Relationship Values As %Dictionary.StorageDataValueDefinition [ Cardinality = children, Inverse = parent ];

Value

Triggers

OnInsertUpdate

Trigger OnInsertUpdate [ Event = INSERT/UPDATE ]

OnDelete

Trigger OnDelete [ Event = DELETE, Time = AFTER ]

Methods

StructureIsValid

ClassMethod StructureIsValid(val As %String) As %Status

%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 ]

AttributeSet

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

AttributeReset

Method AttributeReset()

AttributeIsDefined

Method AttributeIsDefined() As %Boolean

ColumnarGlobalSet

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

ColumnarGlobalReset

Method ColumnarGlobalReset()

ColumnarGlobalIsDefined

Method ColumnarGlobalIsDefined() As %Boolean

DataDefinitionLocationSet

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

DataDefinitionLocationReset

Method DataDefinitionLocationReset()

DataDefinitionLocationIsDefined

Method DataDefinitionLocationIsDefined() As %Boolean

NameSet

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

NameReset

Method NameReset()

NameIsDefined

Method NameIsDefined() As %Boolean

SmallChunkSizeSet

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

SmallChunkSizeReset

Method SmallChunkSizeReset()

SmallChunkSizeIsDefined

Method SmallChunkSizeIsDefined() As %Boolean

StructureSet

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

StructureReset

Method StructureReset()

StructureIsDefined

Method StructureIsDefined() As %Boolean

SubscriptSet

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

SubscriptReset

Method SubscriptReset()

SubscriptIsDefined

Method SubscriptIsDefined() As %Boolean

parentOnDelete

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