Class Reference
Cache for UNIX 2018.1.2
InterSystems: The power behind what matters   
Documentation  Search
Private  Storage  

class %iKnow.Filters.SourceIdFilter extends %iKnow.Filters.Filter

Simple implementation of the %iKnow.Filters.Filter interface, building a simple equality condition on Source IDs.

Filter parameters:

  1. domainId As %Integer
  2. sourceIds As %List - List of the source IDs that should be included by this filter. Can also be supplied as an array, in which case the top node is ignored.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5


Summary

Properties
DomainId FilteredSourceCount IsCached Selectivity
SourceIds

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
CheckResultCache CheckResultCacheSingle ClearCachedFilter
ClearCachedFilters CreateAsString CreateFromBitstring
CreateGroupAsString FromString GetCRCOccurrenceFilter
GetCRCUniqueFilter GetCcUniqueFilter GetEntityOccurrenceFilter
GetEntityUniqueFilter GetFilteredCcFrequency GetFilteredCcSpread
GetFilteredCrcFrequency GetFilteredCrcSpread GetFilteredEntityFrequency
GetFilteredEntitySpread GetFilteredEntityUniqueCount GetFilteredStemFrequency
GetFilteredStemSpread GetFirstFilteredSource GetNextCRCOccurrenceFilterOffset
GetNextCRCUniqueFilterOffset GetNextCcUniqueFilterOffset GetNextEntityOccurrenceFilterOffset
GetNextEntityUniqueFilterOffset GetNextPathFilterOffset GetNextSourceFilterOffset
GetNextSrcId GetPathFilter GetSourceFilter
Initialize Invalidate IsFiltered
IsValid RestoreFilterFromId RestoreFilterFromString
StoreResultCache StoreResultCacheSingle ToString


Properties

• property SourceIds  [ MultiDimensional ];

Methods

• method ToString() as %String

Subclasses should implement this method to build a string representation of the filter instance. It should start with the filter class name, followed by a pipe (|) character and then a string representation that can be interpreted by its RestoreFilterFromStringInternal implementation.



Copyright © 1997-2019, InterSystems Corporation