This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %iKnow.Semantics.ProximityQAPI

%iKnow.Semantics.ProximityQAPI

class %iKnow.Semantics.ProximityQAPI extends %iKnow.Queries.AbstractQAPI

This is an automatically generated class, offering a functionally equivalent set of methods and queries as %iKnow.Semantics.ProximityAPI, exposed as SqlProc methods.

See the classdocs for %iKnow.Semantics.ProximityAPI for more information.

This class was generated by : %iKnow.Semantics.ProximityAPI.cls

Queries

query GetProfile(pDomainId As %Integer, pEntity As %String(MAXLEN=32767), pPage As %Integer = 1, pPageSize As %Integer = 10, pFilter As %String(MAXLEN=32767)="", pBlacklistIDs As %String(MAXLEN=32767)="")
Selects entUniId As %Integer, entity As %String(MAXLEN=32767), score As %Integer
Returns the proximity profile for the entity pEntity. This profile is calculated based on the aggregated distance to pEntity in all paths in the domain (when pFilter=""), optionally constrained to all paths in a specific set of sources (when pFilter!="")
query GetProfileById(pDomainId As %Integer, pEntUniId As %Integer, pPage As %Integer = 1, pPageSize As %Integer = 10, pFilter As %String(MAXLEN=32767)="", pBlacklistIDs As %String(MAXLEN=32767)="")
Selects entUniId As %Integer, entity As %String(MAXLEN=32767), score As %Integer
Returns the proximity profile for the entity represented by pEntUniId. See also GetProfile()
query GetProfileBySource(pDomainId As %Integer, pEntity As %String(MAXLEN=32767), pExternalId As %String(MAXLEN=32767), pPage As %Integer = 1, pPageSize As %Integer = 10)
Selects entUniId As %Integer, entity As %String(MAXLEN=32767), score As %Integer
Returns the proximity profile for a given entity pEntity in source pExtId.
query GetProfileBySourceId(pDomainId As %Integer, pEntUniId As %Integer, pSrcId As %Integer, pPage As %Integer = 1, pPageSize As %Integer = 10)
Selects entUniId As %Integer, entity As %String(MAXLEN=32767), score As %Integer
Returns the proximity profile for a given entity identified by pEntUniId in source pSrcId.

Inherited Members

Inherited Methods

FeedbackOpens in a new window