Wikibase
MediaWiki Wikibase extension
|
ItemTermStoreWriter implementation for the 2019 SQL based secondary item term storage. More...
Public Member Functions | |
storeTerms (ItemId $itemId, Fingerprint $fingerprint) | |
Updates the stored terms for the specified item. | |
deleteTerms (ItemId $itemId) | |
Public Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\DatabaseTermStoreWriterBase | |
__construct (RepoDomainDb $repoDb, JobQueueGroup $jobQueueGroup, TermInLangIdsAcquirer $termInLangIdsAcquirer, TermInLangIdsResolver $termInLangIdsResolver, StringNormalizer $stringNormalizer) | |
Protected Member Functions | |
makeMapping () | |
Protected Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\DatabaseTermStoreWriterBase | |
delete (Int32EntityId $entityId) | |
store (Int32EntityId $entityId, Fingerprint $fingerprint) | |
ItemTermStoreWriter implementation for the 2019 SQL based secondary item term storage.
This can only be used to write to Item term stores on the local database.
Wikibase\Lib\Store\Sql\Terms\DatabaseItemTermStoreWriter::deleteTerms | ( | ItemId | $itemId | ) |
TermStoreException |
Implements Wikibase\DataModel\Services\Term\ItemTermStoreWriter.
|
protected |
Wikibase\Lib\Store\Sql\Terms\DatabaseItemTermStoreWriter::storeTerms | ( | ItemId | $itemId, |
Fingerprint | $terms ) |
Updates the stored terms for the specified item.
TermStoreException |
Implements Wikibase\DataModel\Services\Term\ItemTermStoreWriter.