BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter Class Reference
Inheritance diagram for SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter:
Collaboration diagram for SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter:

Public Member Functions

 __construct (Store $store, CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator)
 
 setLogger (LoggerInterface $logger)
 
 setPropertyExemptionList (array $propertyExemptionList)
 
 setAffiliatePropertyDetectionList (array $affiliatePropertyDetectionList)
 
 getFilteredIdList ()
 

Detailed Description

This class filters entities recorded in the CompositePropertyTableDiffIterator and applies a relevance rule set by:

  • Remove exempted properties (not relevant)
  • Add properties that are affiliated on a relational change

By affiliation implies that a property listed is not directly related to a query dependency, yet it is monitored and can, if altered trigger a dependency update that normally is only reserved to dependent properties.

GNU GPL v2+

Since
2.4
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter::__construct ( Store  $store,
CompositePropertyTableDiffIterator  $compositePropertyTableDiffIterator 
)
Since
2.4
Parameters
Store$store
CompositePropertyTableDiffIterator$compositePropertyTableDiffIterator

Member Function Documentation

SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter::getFilteredIdList ( )
Since
2.4
Returns
array
SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter::setAffiliatePropertyDetectionList ( array  $affiliatePropertyDetectionList)
Since
2.4
Parameters
array$affiliatePropertyDetectionList
SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter::setLogger ( LoggerInterface  $logger)
See Also
LoggerAwareInterface::setLogger
Since
2.5
Parameters
LoggerInterface$logger

Implements Psr\Log\LoggerAwareInterface.

SMW\SQLStore\QueryDependency\EntityIdListRelevanceDetectionFilter::setPropertyExemptionList ( array  $propertyExemptionList)
Since
2.4
Parameters
array$propertyExemptionList

The documentation for this class was generated from the following file: