Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter Class Reference

PropertyTermStoreWriter implementation for the 2019 SQL based secondary property term storage. More...

+ Inheritance diagram for Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter:
+ Collaboration diagram for Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter:

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 (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)
 

Detailed Description

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.

See also
Item & Property Terms

Member Function Documentation

◆ deleteTerms()

Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::deleteTerms ( NumericPropertyId  $propertyId)
Exceptions
TermStoreException

Implements Wikibase\DataModel\Services\Term\PropertyTermStoreWriter.

◆ makeMapping()

Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::makeMapping ( )
protected

◆ storeTerms()

Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::storeTerms ( NumericPropertyId  $propertyId,
Fingerprint  $terms 
)

Updates the stored terms for the specified property.

Exceptions
TermStoreException

Implements Wikibase\DataModel\Services\Term\PropertyTermStoreWriter.


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