Wikibase
MediaWiki Wikibase extension
|
Allows accessing changes stored in a database. More...
Public Member Functions | |
__construct (EntityChangeFactory $entityChangeFactory, EntityIdParser $entityIdParser, RepoDomainDb $db) | |
loadByChangeIds (array $ids) | |
loadByEntityIdFromPrimary (string $entityId) | |
loadChangesBefore (string $thisTimeOrOlder, int $batchSize, int $offset) | |
Private Member Functions | |
newEntityChangeSelectQueryBuilder (IReadableDatabase $db) | |
Private Attributes | |
EntityChangeFactory | $entityChangeFactory |
EntityIdParser | $entityIdParser |
RepoDomainDb | $db |
Allows accessing changes stored in a database.
Wikibase\Lib\Store\Sql\EntityChangeLookup::__construct | ( | EntityChangeFactory | $entityChangeFactory, |
EntityIdParser | $entityIdParser, | ||
RepoDomainDb | $db ) |
Wikibase\Lib\Store\Sql\EntityChangeLookup::loadByChangeIds | ( | array | $ids | ) |
int[] | $ids |
Wikibase\Lib\Store\Sql\EntityChangeLookup::loadByEntityIdFromPrimary | ( | string | $entityId | ) |
string | $entityId |
Wikibase\Lib\Store\Sql\EntityChangeLookup::loadChangesBefore | ( | string | $thisTimeOrOlder, |
int | $batchSize, | ||
int | $offset ) |
string | $thisTimeOrOlder | maximum timestamp of changes to returns (TS_MW format) |
int | $batchSize | maximum number of changes to return |
int | $offset | skip this many changes |
|
private |
|
private |
|
private |
|
private |