Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\TermIndexItemTermStoreWriter Class Reference

An adapter to turn a TermIndex into an ItemTermStoreWriter. More...

+ Inheritance diagram for Wikibase\Lib\Store\TermIndexItemTermStoreWriter:
+ Collaboration diagram for Wikibase\Lib\Store\TermIndexItemTermStoreWriter:

Public Member Functions

 __construct (TermIndex $termIndex)
 
 storeTerms (ItemId $itemId, Fingerprint $terms)
 
 deleteTerms (ItemId $itemId)
 

Private Attributes

 $termIndex
 

Detailed Description

An adapter to turn a TermIndex into an ItemTermStoreWriter.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\TermIndexItemTermStoreWriter::__construct ( TermIndex  $termIndex)

Member Function Documentation

◆ deleteTerms()

Wikibase\Lib\Store\TermIndexItemTermStoreWriter::deleteTerms ( ItemId  $itemId)

◆ storeTerms()

Wikibase\Lib\Store\TermIndexItemTermStoreWriter::storeTerms ( ItemId  $itemId,
Fingerprint  $terms 
)

Member Data Documentation

◆ $termIndex

Wikibase\Lib\Store\TermIndexItemTermStoreWriter::$termIndex
private

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