Wikibase
MediaWiki Wikibase extension
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 (PropertyId $propertyId, Fingerprint $fingerprint)
 
 deleteTerms (PropertyId $propertyId)
 
- Public Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\DatabaseTermStoreWriterBase
 __construct (ILoadBalancer $loadBalancer, 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 ( PropertyId  $propertyId)

◆ makeMapping()

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

◆ storeTerms()

Wikibase\Lib\Store\Sql\Terms\DatabasePropertyTermStoreWriter::storeTerms ( PropertyId  $propertyId,
Fingerprint  $fingerprint 
)

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