Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Rdf\NullDedupeBag Class Reference

Null implementation of DedupeBag. More...

+ Inheritance diagram for Wikibase\Repo\Rdf\NullDedupeBag:
+ Collaboration diagram for Wikibase\Repo\Rdf\NullDedupeBag:

Public Member Functions

 alreadySeen ( $hash, $namespace='')
 

Detailed Description

Null implementation of DedupeBag.

Author
Daniel Kinzler

Member Function Documentation

◆ alreadySeen()

Wikibase\Repo\Rdf\NullDedupeBag::alreadySeen ( $hash,
$namespace = '' )
See also
DedupeBag::alreadySeen

Always returns false, indicating that the hash has not be seen before, and the associated data needs to be processed again. This would generate a false negative whenever the method is called twice with the same parameters. This is admissible by the contract of the method, which explicitly allows false negatives. The consequence may be that the caller redundantly processes data that had been processed before.

Parameters
string$hash
string$namespace
Returns
bool

Implements Wikibase\Repo\Rdf\DedupeBag.


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