Utility class for rebuilding the wb_items_per_site table.
More...
Utility class for rebuilding the wb_items_per_site table.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::__construct |
( |
SiteLinkTable |
$siteLinkTable, |
|
|
EntityLookup |
$entityLookup, |
|
|
EntityPrefetcher |
$entityPrefetcher, |
|
|
ILBFactory |
$lbFactory |
|
) |
| |
◆ rebuild()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::rebuild |
( |
EntityIdPager |
$entityIdPager | ) |
|
◆ rebuildSiteLinks()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::rebuildSiteLinks |
( |
array |
$itemIds | ) |
|
|
private |
◆ report()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::report |
( |
|
$msg | ) |
|
|
private |
◆ setBatchSize()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::setBatchSize |
( |
|
$batchSize | ) |
|
◆ setReporter()
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::setReporter |
( |
MessageReporter |
$reporter | ) |
|
Sets the reporter to use for reporting preogress.
- Parameters
-
◆ $batchSize
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$batchSize = 100 |
|
private |
◆ $entityLookup
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$entityLookup |
|
private |
◆ $entityPrefetcher
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$entityPrefetcher |
|
private |
◆ $lbFactory
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$lbFactory |
|
private |
◆ $reporter
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$reporter = null |
|
private |
◆ $siteLinkTable
Wikibase\Repo\Store\Sql\ItemsPerSiteBuilder::$siteLinkTable |
|
private |
The documentation for this class was generated from the following file: