$addUsagesBatchSize | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$batchSize | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$idParser | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$loadBalancerFactory | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$logger | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$readConnection | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$tableName | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
$writeConnection | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
__construct(EntityIdParser $idParser, IDatabase $writeConnection, int $batchSize=100, ?string $tableName=null, int $addUsagesBatchSize=500) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
addUsages(int $pageId, array $usages) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
convertRowsToUsages(Traversable $rows) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
DEFAULT_TABLE_NAME | Wikibase\Client\Usage\Sql\EntityUsageTable | |
foldRowsIntoPageEntityUsages(Traversable $rows) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getAffectedRowIds(int $pageId, array $usages) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getEntityIdStrings(array $entityIds) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getPagesUsing(array $entityIds, array $aspects=[]) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
getPrimaryKeys(array $where, string $method) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getUnusedEntities(array $entityIds) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
getUsedEntityIdStrings(array $idStrings) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getUsedEntityIdStringsMySql(array $subQueries) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
getUsedEntityIdStringsQueries(array $idStrings) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
makeUsageRows(int $pageId, array $usages) | Wikibase\Client\Usage\Sql\EntityUsageTable | private |
pruneUsages(int $pageId) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
queryUsages(int $pageId) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
removeUsages(int $pageId, array $usages) | Wikibase\Client\Usage\Sql\EntityUsageTable | |
setAddUsagesBatchSize(int $addUsagesBatchSize) | Wikibase\Client\Usage\Sql\EntityUsageTable | |