%iKnow.Queries.CrcQAPI
deprecated class %iKnow.Queries.CrcQAPI extends %iKnow.Queries.AbstractQAPI
This is an automatically generated class, offering a functionally equivalent set of methods and queries as %iKnow.Queries.CrcAPI, exposed as SqlProc methods.
See the classdocs for %iKnow.Queries.CrcAPI for more information.
Method Inventory
- GetCountByDomain()
- GetCountByEntities()
- GetCountByEntityIds()
- GetCountBySource()
- GetFrequency()
- GetId()
- GetOccurrenceCountBySource()
- GetSpread()
Methods
Returns the total number of unique CRCs in a domain, optionally limited through supplying a %iKnow.Filters.Filter object as the filter parameter to restrict the result to those CRCs occurring in any source satisfying the filter criteria.
Returns the number of CRCs in this domain, based on a list of entities.
See also GetByEntities() for a description of the parameters.
Returns the number of CRCs in this domain, based on a list of entity IDs.
See also GetByEntities() for a description of the parameters.
Returns the total number of unique CRCs appearing in either (if setop = $$$UNION) or all (if setop = $$$INTERSECT) of the sources specified by ID in sourceidlist.
To get the unique CRCs of a virtual source, only a single virtual source can be supplied using its negative ID value (otherwise, -1 is returned).
Returns the frequency of the CRC corresponding to the supplied crcUniId.
When specifying a Virtual Source ID, the frequency within the virtual source will be returned.
Returns, if any, the CRC ID for the combination of Head, Relation and Tail specified.
When specifying a Virtual Source ID, it will treat the head, relation and tails as virtual entities, in the context of that vSrcId.
Returns the total number of CRC occurrences in the specified sources.
Use negative source IDs to refer to virtual sources
Returns the spread of the CRC corresponding to the supplied crcUniId.
Queries
This method will return all CRC triples in which any of the entities supplied in the entitylist participate, within the boundaries of the supplied domain.
The scope of this query can be limited through supplying a %iKnow.Filters.Filter object for the filter parameter to restrict the result to those CRCs occurring in any source satisfying the filter criteria. When using a filter, the filtermode parameter will control whether or not the frequency and spread of returned records should be recalculated and whether results should be resorted along these recalculated numbers.
Specifying a value for positionstomatch will limit the result to those CRCs in which the supplied entities are in the Head (with positionstomatch = $$$USEPOSH), Relation (with positionstomatch = $$$USEPOSR) or Tail (with positionstomatch = $$$USEPOST) role of the CRC, or in any combination of these (with positionstomatch = $$$USEPOSHT, $$$USEPOSHR, $$$USEPOSRT, $$$USEPOSALL (the default)).
If stemming is enabled for this domain through $$$IKPSTEMMING, CRCs containing any actual form of the entities in entityList will be returned. Use pActualFormOnly=1 to retrieve only those CRCs containing the actual forms in entitylist. This argument is ignored if stemming is not enabled.
Returns the CRCs in this domain containing any or all of a list of entity IDs.
See also GetByEntities() for a description of the parameters.
Returns all CRCs appearing in any source satisfying the supplied filter objects criteria, with their frequencies and spread recalculated to comply with the filter depending on the value of filtermode, but the result is NOT re-sorted, regardless of the value for filtermode (use GetTop() if you want sorted results).
Returns the unique CRCs appearring in the specified sources.
To get the unique CRCs of a virtual source, only a single virtual source can be supplied using its negative ID value (otherwise, -1 is returned).
Returns the CRC occurrences for a given source, in the order in which they appear.
Returns the most frequently occurring CRCs for this domain, sorted by descending frequency (with sorttype $$$SORTBYFREQUENCY), spread (with sorttype $$$SORTBYSPREAD) or the domain default (with sorttype $$$SORTBYDOMAINDEFAULT).
The scope of this query can be limited through supplying a %iKnow.Filters.Filter object for the filter parameter to restrict the result to those CRCs occurring in any source satisfying the filter criteria. When using a filter, the filtermode parameter will control whether or not the frequency and spread of returned records should be recalculated and whether results should be resorted along these recalculated numbers.
If a Virtual Source ID is provided, only the entities in that virtual source will be considered, filters are ignored and the sort type will always be $$$SORTBYFREQUENCY.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()