Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder Class Reference

Public Member Functions

 __construct (SeekableEntityIdPager $idPager, MessageReporter $progressReporter, MessageReporter $errorReporter, RepoDomainDb $db, EntityLookup $entityLookup, int $batchSize, int $batchSpacingInSeconds, string $valueFrom, string $valueTo)
 
 rebuild ()
 

Private Member Functions

 rebuildEntityQuantityForUnit (array $entityIds)
 

Private Attributes

 $idPager
 
 $progressReporter
 
 $errorReporter
 
 $db
 
 $entityLookup
 
 $batchSize
 
 $batchSpacingInSeconds
 
 $valueFrom
 
 $valueTo
 
 $entityStore
 
 $performer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::__construct ( SeekableEntityIdPager $idPager,
MessageReporter $progressReporter,
MessageReporter $errorReporter,
RepoDomainDb $db,
EntityLookup $entityLookup,
int $batchSize,
int $batchSpacingInSeconds,
string $valueFrom,
string $valueTo )
Parameters
SeekableEntityIdPager$idPager
MessageReporter$progressReporter
MessageReporter$errorReporter
RepoDomainDb$db
EntityLookup$entityLookup
int$batchSize
int$batchSpacingInSeconds

Member Function Documentation

◆ rebuild()

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::rebuild ( )

◆ rebuildEntityQuantityForUnit()

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::rebuildEntityQuantityForUnit ( array $entityIds)
private
Parameters
EntityId[]$entityIds

Member Data Documentation

◆ $batchSize

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$batchSize
private

◆ $batchSpacingInSeconds

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$batchSpacingInSeconds
private

◆ $db

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$db
private

◆ $entityLookup

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$entityLookup
private

◆ $entityStore

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$entityStore
private

◆ $errorReporter

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$errorReporter
private

◆ $idPager

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$idPager
private

◆ $performer

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$performer
private

◆ $progressReporter

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$progressReporter
private

◆ $valueFrom

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$valueFrom
private

◆ $valueTo

Wikibase\Repo\Maintenance\EntityQuantityUnitRebuilder::$valueTo
private

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