Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Store\PropertyTermsRebuilder Class Reference

Public Member Functions

 __construct (PropertyTermStoreWriter $propertyTermStoreWriter, SeekableEntityIdPager $idPager, MessageReporter $progressReporter, MessageReporter $errorReporter, ILBFactory $loadBalancerFactory, PropertyLookup $propertyLookup, $batchSize, $batchSpacingInSeconds)
 
 rebuild ()
 

Private Member Functions

 rebuildTermsForBatch (array $propertyIds)
 
 saveTerms (Property $property)
 

Private Attributes

 $propertyTermStoreWriter
 
 $idPager
 
 $progressReporter
 
 $errorReporter
 
 $loadBalancerFactory
 
 $propertyLookup
 
 $batchSize
 
 $batchSpacingInSeconds
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\PropertyTermsRebuilder::__construct ( PropertyTermStoreWriter  $propertyTermStoreWriter,
SeekableEntityIdPager  $idPager,
MessageReporter  $progressReporter,
MessageReporter  $errorReporter,
ILBFactory  $loadBalancerFactory,
PropertyLookup  $propertyLookup,
  $batchSize,
  $batchSpacingInSeconds 
)
Parameters
PropertyTermStoreWriter$propertyTermStoreWriter
SeekableEntityIdPager$idPager
MessageReporter$progressReporter
MessageReporter$errorReporter
ILBFactory$loadBalancerFactory
PropertyLookup$propertyLookup
int$batchSize
int$batchSpacingInSeconds

Member Function Documentation

◆ rebuild()

Wikibase\Repo\Store\PropertyTermsRebuilder::rebuild ( )

◆ rebuildTermsForBatch()

Wikibase\Repo\Store\PropertyTermsRebuilder::rebuildTermsForBatch ( array  $propertyIds)
private

◆ saveTerms()

Wikibase\Repo\Store\PropertyTermsRebuilder::saveTerms ( Property  $property)
private

Member Data Documentation

◆ $batchSize

Wikibase\Repo\Store\PropertyTermsRebuilder::$batchSize
private

◆ $batchSpacingInSeconds

Wikibase\Repo\Store\PropertyTermsRebuilder::$batchSpacingInSeconds
private

◆ $errorReporter

Wikibase\Repo\Store\PropertyTermsRebuilder::$errorReporter
private

◆ $idPager

Wikibase\Repo\Store\PropertyTermsRebuilder::$idPager
private

◆ $loadBalancerFactory

Wikibase\Repo\Store\PropertyTermsRebuilder::$loadBalancerFactory
private

◆ $progressReporter

Wikibase\Repo\Store\PropertyTermsRebuilder::$progressReporter
private

◆ $propertyLookup

Wikibase\Repo\Store\PropertyTermsRebuilder::$propertyLookup
private

◆ $propertyTermStoreWriter

Wikibase\Repo\Store\PropertyTermsRebuilder::$propertyTermStoreWriter
private

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