Home > Class Reference > %SYS namespace > %Dictionary.CompiledStorageSQLMap

%Dictionary.CompiledStorageSQLMap

persistent class %Dictionary.CompiledStorageSQLMap extends %Library.Persistent

SQL Table Name: %Dictionary.CompiledStorageSQLMap

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter SQLENABLED = 1;

Properties (Including Private)

property %isDefined as %RawString [ Private , MultiDimensional , Transient ];
Stores the DEFINED state of each attribute.
Property methods: %isDefinedGet(), %isDefinedIsValid(), %isDefinedSet()
property BlockCount as %Integer;
BlockCount
Property methods: BlockCountDisplayToLogical(), BlockCountGet(), BlockCountIsDefined(), BlockCountIsValid(), BlockCountLogicalToDisplay(), BlockCountNormalize(), BlockCountReset(), BlockCountSet()
property Condition as %RawString;
Condition
Property methods: ConditionFieldsGet(), ConditionFieldsIsDefined(), ConditionFieldsIsValid(), ConditionFieldsReset(), ConditionFieldsSet(), ConditionGet(), ConditionIsDefined(), ConditionIsValid(), ConditionReset(), ConditionSet(), ConditionalWithHostVarsDisplayToLogical(), ConditionalWithHostVarsGet(), ConditionalWithHostVarsIsDefined(), ConditionalWithHostVarsIsValid(), ConditionalWithHostVarsLogicalToDisplay(), ConditionalWithHostVarsNormalize(), ConditionalWithHostVarsReset(), ConditionalWithHostVarsSet()
property ConditionFields as %RawString;
ConditionFields
Property methods: ConditionFieldsGet(), ConditionFieldsIsDefined(), ConditionFieldsIsValid(), ConditionFieldsReset(), ConditionFieldsSet()
property ConditionalWithHostVars as %Boolean;
ConditionalWithHostVars
Property methods: ConditionalWithHostVarsDisplayToLogical(), ConditionalWithHostVarsGet(), ConditionalWithHostVarsIsDefined(), ConditionalWithHostVarsIsValid(), ConditionalWithHostVarsLogicalToDisplay(), ConditionalWithHostVarsNormalize(), ConditionalWithHostVarsReset(), ConditionalWithHostVarsSet()
relationship Data as array of %Dictionary.CompiledStorageSQLMapData [ InitialExpression = $listbuild("%Dictionary.CompiledStorageSQLMapData","parent",+$this,"children",1,1) , Transient , Inverse = parent , Cardinality = children ];
Data
Property methods: DataGet(), DataGetObject(), DataGetObjectId(), DataGetSwizzled(), DataIsEmpty(), DataIsValid(), DataNewObject(), DataRClose(), DataRExec(), DataRFetch(), DataRelate(), DataSQLCompute(), DataSet(), DataUnRelate()
property Global as %RawString [ SqlFieldName = _Global ];
Global
Property methods: GlobalGet(), GlobalIsDefined(), GlobalIsValid(), GlobalReset(), GlobalSet()
property KeywordError as %Boolean;
KeywordError
Property methods: KeywordErrorDisplayToLogical(), KeywordErrorGet(), KeywordErrorIsValid(), KeywordErrorLogicalToDisplay(), KeywordErrorNormalize(), KeywordErrorSet()
property KeywordModified as %Boolean;
KeywordModified
Property methods: KeywordModifiedDisplayToLogical(), KeywordModifiedGet(), KeywordModifiedIsValid(), KeywordModifiedLogicalToDisplay(), KeywordModifiedNormalize(), KeywordModifiedSet()
property Name as %RawString [ Required ];
Name
Property methods: NameGet(), NameIsDefined(), NameIsValid(), NameReset(), NameSet()
property PopulationPct as %RawString;
PopulationPct
Property methods: PopulationPctGet(), PopulationPctIsDefined(), PopulationPctIsValid(), PopulationPctReset(), PopulationPctSet()
property PopulationType as %RawString;
PopulationType
Property methods: PopulationTypeGet(), PopulationTypeIsDefined(), PopulationTypeIsValid(), PopulationTypeReset(), PopulationTypeSet()
relationship RowIdSpecs as array of %Dictionary.CompiledStorageSQLMapRowIdSpec [ InitialExpression = $listbuild("%Dictionary.CompiledStorageSQLMapRowIdSpec","parent",+$this,"children",1,1) , Transient , Inverse = parent , Cardinality = children ];
RowIdSpec
Property methods: RowIdSpecsGet(), RowIdSpecsGetObject(), RowIdSpecsGetObjectId(), RowIdSpecsGetSwizzled(), RowIdSpecsIsEmpty(), RowIdSpecsIsValid(), RowIdSpecsNewObject(), RowIdSpecsRClose(), RowIdSpecsRExec(), RowIdSpecsRFetch(), RowIdSpecsRelate(), RowIdSpecsSQLCompute(), RowIdSpecsSet(), RowIdSpecsUnRelate()
property RowReference as %RawString;
RowReference
Property methods: RowReferenceGet(), RowReferenceIsDefined(), RowReferenceIsValid(), RowReferenceReset(), RowReferenceSet()
property Structure as %RawString;
Structure
Property methods: StructureGet(), StructureIsDefined(), StructureIsValid(), StructureReset(), StructureSet()
relationship Subscripts as array of %Dictionary.CompiledStorageSQLMapSub [ InitialExpression = $listbuild("%Dictionary.CompiledStorageSQLMapSub","parent",+$this,"children",1,1) , Transient , Inverse = parent , Cardinality = children ];
Subscript
Property methods: SubscriptsGet(), SubscriptsGetObject(), SubscriptsGetObjectId(), SubscriptsGetSwizzled(), SubscriptsIsEmpty(), SubscriptsIsValid(), SubscriptsNewObject(), SubscriptsRClose(), SubscriptsRExec(), SubscriptsRFetch(), SubscriptsRelate(), SubscriptsSQLCompute(), SubscriptsSet(), SubscriptsUnRelate()
property Type as %RawString;
Specifies what kind of a map this is.
Property methods: TypeGet(), TypeIsDefined(), TypeIsValid(), TypeReset(), TypeSet()
relationship parent as %Dictionary.CompiledStorage [ Required , Inverse = SQLMaps , Cardinality = parent ];
Pointer to the containing parent object
Property methods: parentCheck(), parentDelete(), parentGet(), parentGetObject(), parentGetObjectId(), parentGetSwizzled(), parentIsValid(), parentNewObject(), parentOnDelete(), parentRClose(), parentRExec(), parentRFetch(), parentRelate(), parentSQLCompute(), parentSet(), parentSetObject(), parentSetObjectId(), parentUnRelate(), parentUnSwizzle()

Methods (Including Private)

private classmethod %DeleteData(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]
Inherited description: This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL. Persistent classes using some other storage class, such as %Library.CustomStorage must override this method.
classmethod %Exists(oid As %ObjectIdentity) as %Boolean [ Language = objectscript ]
Inherited description: Checks to see if the object identified by the OID oid exists in the extent.

Returns %Boolean TRUE if it exists, FALSE if it does not.

private method %LoadData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %LoadData() - loads an object from storage. This method is implemented by the storage class.
classmethod %LockId(id As %String, shared As %Boolean = 0, timeout As %Integer) as %Status [ Language = objectscript ]
Inherited description: Obtain an exclusive or shared lock on the object identified by id. The type of lock obtained is determined by shared. This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL.
private method %OnNew(name As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

private method %SaveData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %SaveData() - saves an object to disk, checks uniqueness and referential integrity constraints, and maintains index structures. This method is implemented by the storage class.
classmethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: Release an exclusive or shared lock on the object identified by id. The type of lock released is determined by shared. If this method is not overridden then the default implementation returns an error. This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL.
method BlockCountIsDefined() as %Boolean [ Language = objectscript ]
method BlockCountReset() [ Language = objectscript ]
method BlockCountSet(value As %String = "") as %Status [ Language = objectscript ]
method ConditionFieldsIsDefined() as %Boolean [ Language = objectscript ]
method ConditionFieldsReset() [ Language = objectscript ]
method ConditionFieldsSet(value As %String = "") as %Status [ Language = objectscript ]
method ConditionIsDefined() as %Boolean [ Language = objectscript ]
method ConditionReset() [ Language = objectscript ]
method ConditionSet(value As %String = "") as %Status [ Language = objectscript ]
method ConditionalWithHostVarsIsDefined() as %Boolean [ Language = objectscript ]
method ConditionalWithHostVarsReset() [ Language = objectscript ]
method ConditionalWithHostVarsSet(value As %String = "") as %Status [ Language = objectscript ]
method GlobalIsDefined() as %Boolean [ Language = objectscript ]
method GlobalReset() [ Language = objectscript ]
method GlobalSet(value As %String = "") as %Status [ Language = objectscript ]
method NameIsDefined() as %Boolean [ Language = objectscript ]
method NameReset() [ Language = objectscript ]
method NameSet(value As %String = "") as %Status [ Language = objectscript ]
method PopulationPctIsDefined() as %Boolean [ Language = objectscript ]
method PopulationPctReset() [ Language = objectscript ]
method PopulationPctSet(value As %String = "") as %Status [ Language = objectscript ]
method PopulationTypeIsDefined() as %Boolean [ Language = objectscript ]
method PopulationTypeReset() [ Language = objectscript ]
method PopulationTypeSet(value As %String = "") as %Status [ Language = objectscript ]
method RowReferenceIsDefined() as %Boolean [ Language = objectscript ]
method RowReferenceReset() [ Language = objectscript ]
method RowReferenceSet(value As %String = "") as %Status [ Language = objectscript ]
method StructureIsDefined() as %Boolean [ Language = objectscript ]
method StructureReset() [ Language = objectscript ]
method StructureSet(value As %String = "") as %Status [ Language = objectscript ]
method TypeIsDefined() as %Boolean [ Language = objectscript ]
method TypeReset() [ Language = objectscript ]
method TypeSet(value As %String = "") as %Status [ Language = objectscript ]
classmethod parentOnDelete(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]

Indexes

index (IDKEY on Name) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Triggers

trigger OnDelete (BEFORE event DELETE);
trigger OnInsertUpdate (BEFORE event INSERT/UPDATE);

Inherited Members

Inherited Methods (Including Private)