Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Server.SemVerFind

%ZHSLIB.PackageManager.Server.SemVerFind

class %ZHSLIB.PackageManager.Server.SemVerFind extends %SQL.AbstractFind

Class to enable use of %ZHSLIB.PackageManager.Server.SemVerIndex with %FIND. For detailed documentation, see %ZHSLIB.PackageManager.Server.SemVerIndex. TODO: emulate bitmap index by overriding GetChunk/NextChunk/PreviousChunk?

Method Inventory

Methods

method ContainsItem(pItem As %String) as %Boolean [ Language = objectscript ]
At minimum, ContainsItem() must always be supported. It returns 1 iff the given pItem is in the set S.
classmethod MatchesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod MatchesExecute(ByRef qHandle As %Binary, pClass As %String, pIndexName As %String, pBaseIndexGlobal As %String, pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "") as %Status [ Language = objectscript ]
classmethod MatchesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
method NextItem(pItem As %String = "") as %String [ Language = objectscript ]
Supports %INSUB (eventually?) - for now called from class query.
method PreviousItem(pItem As %String = "") as %String [ Language = objectscript ]
Supports %INSUB (eventually?) - for now called from class query.

Queries

query Matches(pClass As %String, pIndexName As %String, pBaseIndexGlobal As %String, pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "")
Selects ID As %String
This is not inherited by classes defining an index of this type.

Inherited Members

Inherited Methods

FeedbackOpens in a new window