|
| __construct (ItemTermStoreWriter $itemTermStoreWriter, $itemIdIterable, MessageReporter $progressReporter, MessageReporter $errorReporter, ILBFactory $loadBalancerFactory, ItemLookup $itemLookup, $batchSize, $batchSpacingInSeconds) |
|
| rebuild () |
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Store\ItemTermsRebuilder::__construct |
( |
ItemTermStoreWriter |
$itemTermStoreWriter, |
|
|
|
$itemIdIterable, |
|
|
MessageReporter |
$progressReporter, |
|
|
MessageReporter |
$errorReporter, |
|
|
ILBFactory |
$loadBalancerFactory, |
|
|
ItemLookup |
$itemLookup, |
|
|
|
$batchSize, |
|
|
|
$batchSpacingInSeconds |
|
) |
| |
- Parameters
-
ItemTermStoreWriter | $itemTermStoreWriter | |
| $itemIdIterable | |
MessageReporter | $progressReporter | |
MessageReporter | $errorReporter | |
ILBFactory | $loadBalancerFactory | |
ItemLookup | $itemLookup | |
int | $batchSize | |
int | $batchSpacingInSeconds | |
◆ getIdBatches()
Wikibase\Repo\Store\ItemTermsRebuilder::getIdBatches |
( |
| ) |
|
|
private |
◆ rebuild()
Wikibase\Repo\Store\ItemTermsRebuilder::rebuild |
( |
| ) |
|
◆ rebuildTermsForBatch()
Wikibase\Repo\Store\ItemTermsRebuilder::rebuildTermsForBatch |
( |
array |
$itemIds | ) |
|
|
private |
◆ saveTerms()
Wikibase\Repo\Store\ItemTermsRebuilder::saveTerms |
( |
Item |
$item | ) |
|
|
private |
◆ $batchSize
Wikibase\Repo\Store\ItemTermsRebuilder::$batchSize |
|
private |
◆ $batchSpacingInSeconds
Wikibase\Repo\Store\ItemTermsRebuilder::$batchSpacingInSeconds |
|
private |
◆ $errorReporter
Wikibase\Repo\Store\ItemTermsRebuilder::$errorReporter |
|
private |
◆ $itemIds
Wikibase\Repo\Store\ItemTermsRebuilder::$itemIds |
|
private |
◆ $itemLookup
Wikibase\Repo\Store\ItemTermsRebuilder::$itemLookup |
|
private |
◆ $itemTermStoreWriter
Wikibase\Repo\Store\ItemTermsRebuilder::$itemTermStoreWriter |
|
private |
◆ $loadBalancerFactory
Wikibase\Repo\Store\ItemTermsRebuilder::$loadBalancerFactory |
|
private |
◆ $progressReporter
Wikibase\Repo\Store\ItemTermsRebuilder::$progressReporter |
|
private |
The documentation for this class was generated from the following file: