Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Client.Filesystem.Cache

%ZHSLIB.PackageManager.Client.Filesystem.Cache

persistent class %ZHSLIB.PackageManager.Client.Filesystem.Cache extends %Library.Persistent, %ZHSLIB.PackageManager.Core.ModuleInfo

SQL Table Name: %ZHSLIB_PackageManager_Client_Filesystem.Cache

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property LastModified as %TimeStamp [ Required ];
Property methods: LastModifiedDisplayToLogical(), LastModifiedGet(), LastModifiedGetStored(), LastModifiedIsValid(), LastModifiedLogicalToDisplay(), LastModifiedLogicalToXSD(), LastModifiedNormalize(), LastModifiedOdbcToLogical(), LastModifiedSet(), LastModifiedXSDToLogical()
property Manifest as %Stream.GlobalCharacter;
Full module manifest
Property methods: ManifestDelete(), ManifestGet(), ManifestGetObject(), ManifestGetObjectId(), ManifestGetStored(), ManifestGetSwizzled(), ManifestIsValid(), ManifestNewObject(), ManifestOid(), ManifestOpen(), ManifestSet(), ManifestSetObject(), ManifestSetObjectId(), ManifestUnSwizzle()
property Root as %String (MAXLEN = 260) [ Required ];
Property methods: RootDisplayToLogical(), RootFKCheck(), RootFKDelete(), RootFKSQLFKeyExists(), RootFKSQLFKeyRefAction(), RootFKUpdate(), RootGet(), RootGetStored(), RootIsValid(), RootLogicalToDisplay(), RootLogicalToOdbc(), RootNameVersionCheck(), RootNameVersionCheckUnique(), RootNameVersionDelete(), RootNameVersionExists(), RootNameVersionOpen(), RootNameVersionSQLCheckUnique(), RootNameVersionSQLExists(), RootNameVersionSQLFindPKeyByConstraint(), RootNameVersionSQLFindRowIDByConstraint(), RootNormalize(), RootSet()
property SemVer as %String (MAXLEN = 512);
Property associated with the index to allow quick $Query'ing over SemVer order based on ID
Property methods: SemVerCompute(), SemVerDelete(), SemVerDeleteIndex(), SemVerDisplayToLogical(), SemVerExists(), SemVerFind(), SemVerGet(), SemVerGetIndexGlobalNode(), SemVerGetStored(), SemVerIndexLocation(), SemVerIndexLocationForCompile(), SemVerInsert(), SemVerInsertIndex(), SemVerIsValid(), SemVerLogicalToDisplay(), SemVerLogicalToOdbc(), SemVerNode(), SemVerNormalize(), SemVerPurgeIndex(), SemVerSQLCompute(), SemVerSegmentFinalize(), SemVerSegmentInitialize(), SemVerSegmentInsert(), SemVerSet(), SemVerSetT(), SemVerSortBeginIndex(), SemVerSortEndIndex(), SemVerUpdateIndex()
property SubDirectory as %String (MAXLEN = 260);
Property methods: SubDirectoryDisplayToLogical(), SubDirectoryGet(), SubDirectoryGetStored(), SubDirectoryIsValid(), SubDirectoryLogicalToDisplay(), SubDirectoryLogicalToOdbc(), SubDirectoryNormalize(), SubDirectorySet()

Methods (Including Private)

private classmethod %OnBeforeBuildIndices(ByRef indexlist As %String(MAXLEN="")="") as %Status [ Language = objectscript ]
Inherited description:

This callback method is invoked by the %BuildIndices() method.

It is called prior to modifying any index structures. If an extent lock is requested by the %BuildIndices caller then %OnBeforeBuildIndices is called after the extent lock is acquired.

If this method returns an error then %BuildIndices will exit immediately without purging and building any index structures, returning the error to the caller of %BuildIndices.

Parameters
Name Type Description
indexlist Input/output A $list value containing the names of the indexes to be built. This parameter is passed by reference. If the implementation of %OnBeforeBuildIndices alters this value then %BuildIndices will honor those changes.

method HandleSaveError(pSC As %Status) as %Status [ Language = objectscript ]
classmethod OrderedMatchesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod OrderedMatchesExecute(ByRef qHandle As %Binary, pRoot As %String = "", pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "") as %Status [ Language = objectscript ]
classmethod OrderedMatchesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]

Queries

query OrderedMatches(pRoot As %String = "", pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "")
Selects Name As %String, VersionString As %String

Indexes

index (CacheItemIndex on Root,SubDirectory) [Data = LastModified, Unique];
Index methods: CacheItemIndexCheck(), CacheItemIndexCheckUnique(), CacheItemIndexDelete(), CacheItemIndexExists(), CacheItemIndexOpen(), CacheItemIndexSQLCheckUnique(), CacheItemIndexSQLExists(), CacheItemIndexSQLFindPKeyByConstraint(), CacheItemIndexSQLFindRowIDByConstraint()
index (RootNameVersion on Root,Name,VersionString) [Unique];
Index methods: RootNameVersionCheck(), RootNameVersionCheckUnique(), RootNameVersionDelete(), RootNameVersionExists(), RootNameVersionOpen(), RootNameVersionSQLCheckUnique(), RootNameVersionSQLExists(), RootNameVersionSQLFindPKeyByConstraint(), RootNameVersionSQLFindRowIDByConstraint()
index (SemVer on Name,Version);
Index methods: SemVerCompute(), SemVerDelete(), SemVerDeleteIndex(), SemVerDisplayToLogical(), SemVerExists(), SemVerFind(), SemVerGet(), SemVerGetIndexGlobalNode(), SemVerGetStored(), SemVerIndexLocation(), SemVerIndexLocationForCompile(), SemVerInsert(), SemVerInsertIndex(), SemVerIsValid(), SemVerLogicalToDisplay(), SemVerLogicalToOdbc(), SemVerNode(), SemVerNormalize(), SemVerPurgeIndex(), SemVerSQLCompute(), SemVerSegmentFinalize(), SemVerSegmentInitialize(), SemVerSegmentInsert(), SemVerSet(), SemVerSetT(), SemVerSortBeginIndex(), SemVerSortEndIndex(), SemVerUpdateIndex()

Foreign Keys

foreignkey (Root) references %ZHSLIB.PackageManager.Client.FilesystemServerDefinition (RootIndex) [OnDelete=cascade, OnUpdate=noaction];

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Storage Model: Storage (%ZHSLIB.PackageManager.Client.Filesystem.Cache)

^HS.PM.Client.FSCacheD(ID)
=
%%CLASSNAME
Root
SubDirectory
Name
Version
VersionString
LastModified
Manifest
SemVer
Feedback