|
Wikibase
MediaWiki Wikibase extension
|
Implementation of the store interface using an SQL backend via MediaWiki's storage abstraction layer. More...
Inheritance diagram for Wikibase\Repo\Store\Sql\SqlStore:
Collaboration diagram for Wikibase\Repo\Store\Sql\SqlStore:Public Member Functions | |
| __construct (EntityChangeFactory $entityChangeFactory, EntityIdParser $entityIdParser, EntityIdComposer $entityIdComposer, EntityIdLookup $entityIdLookup, EntityTitleStoreLookup $entityTitleLookup, EntityNamespaceLookup $entityNamespaceLookup, IdGenerator $idGenerator, WikibaseServices $wikibaseServices, HookContainer $hookContainer, DatabaseEntitySource $entitySource, SettingsArray $settings, PropertyInfoLookup $propertyInfoLookup) | |
| newSiteLinkStore () | |
| getEntityByLinkedTitleLookup () | |
| newItemsWithoutSitelinksFinder () | |
| getEntityRedirectLookup () | |
| getEntityLookup ( $cache=self::LOOKUP_CACHING_ENABLED, string $lookupMode=LookupConstants::LATEST_FROM_REPLICA) | |
| getEntityStoreWatcher () | |
| getEntityStore () | |
| getEntityRevisionLookup ( $cache=self::LOOKUP_CACHING_ENABLED) | |
| getPropertyInfoLookup () | |
| getPropertyInfoStore () | |
| getEntityPrefetcher () | |
| getEntityChangeLookup () | |
| getChangeStore () | |
Private Member Functions | |
| newEntityStore () | |
| getEntityRevisionLookupCacheKey () | |
| getCacheRetrievingEntityRevisionLookup () | |
| newPropertyInfoStore () | |
| Creates a new PropertyInfoStore Note: cache key used by the lookup should be the same as the cache key used by CachedPropertyInfoLookup. | |
| getPropertyInfoTable () | |
| newEntityPrefetcher () | |
Additional Inherited Members | |
Public Attributes inherited from Wikibase\Repo\Store\Store | |
| const | LOOKUP_CACHING_ENABLED = '' |
| const | LOOKUP_CACHING_DISABLED = 'uncached' |
| const | LOOKUP_CACHING_RETRIEVE_ONLY = 'retrieve-only' |
Implementation of the store interface using an SQL backend via MediaWiki's storage abstraction layer.
| Wikibase\Repo\Store\Sql\SqlStore::__construct | ( | EntityChangeFactory | $entityChangeFactory, |
| EntityIdParser | $entityIdParser, | ||
| EntityIdComposer | $entityIdComposer, | ||
| EntityIdLookup | $entityIdLookup, | ||
| EntityTitleStoreLookup | $entityTitleLookup, | ||
| EntityNamespaceLookup | $entityNamespaceLookup, | ||
| IdGenerator | $idGenerator, | ||
| WikibaseServices | $wikibaseServices, | ||
| HookContainer | $hookContainer, | ||
| DatabaseEntitySource | $entitySource, | ||
| SettingsArray | $settings, | ||
| PropertyInfoLookup | $propertyInfoLookup ) |
| EntityChangeFactory | $entityChangeFactory | |
| EntityIdParser | $entityIdParser | |
| EntityIdComposer | $entityIdComposer | |
| EntityIdLookup | $entityIdLookup | |
| EntityTitleStoreLookup | $entityTitleLookup | |
| EntityNamespaceLookup | $entityNamespaceLookup | |
| IdGenerator | $idGenerator | |
| WikibaseServices | $wikibaseServices | Service container providing data access services |
| HookContainer | $hookContainer | Service container providing data access services |
| DatabaseEntitySource | $entitySource | |
| SettingsArray | $settings |
|
private |
| Wikibase\Repo\Store\Sql\SqlStore::getChangeStore | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityByLinkedTitleLookup | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityChangeLookup | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityLookup | ( | $cache = self::LOOKUP_CACHING_ENABLED, | |
| string | $lookupMode = LookupConstants::LATEST_FROM_REPLICA ) |
The EntityLookup returned by this method will resolve redirects.
| string | $cache | One of self::LOOKUP_CACHING_* |
| string | $lookupMode | One of LookupConstants::LATEST_FROM_* |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityPrefetcher | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityRedirectLookup | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getEntityRevisionLookup | ( | $cache = self::LOOKUP_CACHING_ENABLED | ) |
| string | $cache | One of self::LOOKUP_CACHING_* self::LOOKUP_CACHING_DISABLED to get an uncached direct lookup self::LOOKUP_CACHING_RETRIEVE_ONLY to get a lookup which reads from the cache, but doesn't store retrieved entities self::LOOKUP_CACHING_ENABLED to get a caching lookup (default) |
Implements Wikibase\Repo\Store\Store.
|
private |
| Wikibase\Repo\Store\Sql\SqlStore::getEntityStore | ( | ) |
| Wikibase\Repo\Store\Sql\SqlStore::getEntityStoreWatcher | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getPropertyInfoLookup | ( | ) |
Implements Wikibase\Repo\Store\Store.
| Wikibase\Repo\Store\Sql\SqlStore::getPropertyInfoStore | ( | ) |
|
private |
|
private |
|
private |
| Wikibase\Repo\Store\Sql\SqlStore::newItemsWithoutSitelinksFinder | ( | ) |
Implements Wikibase\Repo\Store\Store.
|
private |
Creates a new PropertyInfoStore Note: cache key used by the lookup should be the same as the cache key used by CachedPropertyInfoLookup.
| Wikibase\Repo\Store\Sql\SqlStore::newSiteLinkStore | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |