Wikibase
MediaWiki Wikibase extension
|
PropertyTermStoreWriter implementation for the 2019 SQL based secondary property term storage. More...
Public Member Functions | |
storeTerms (NumericPropertyId $propertyId, Fingerprint $fingerprint) | |
Updates the stored terms for the specified property. | |
deleteTerms (NumericPropertyId $propertyId) | |
Public Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\DatabaseTermStoreWriterBase | |
__construct (TermsDomainDb $termsDb, 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) | |
PropertyTermStoreWriter implementation for the 2019 SQL based secondary property term storage.
This can only be used to write to Property term stores on the local database.
Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::deleteTerms | ( | NumericPropertyId | $propertyId | ) |
TermStoreException |
Implements Wikibase\DataModel\Services\Term\PropertyTermStoreWriter.
|
protected |
Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::storeTerms | ( | NumericPropertyId | $propertyId, |
Fingerprint | $terms ) |
Updates the stored terms for the specified property.
TermStoreException |
Implements Wikibase\DataModel\Services\Term\PropertyTermStoreWriter.