Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
newSiteLinkStore () | |
getEntityByLinkedTitleLookup () | |
newItemsWithoutSitelinksFinder () | |
getEntityRedirectLookup () | |
getEntityLookup ( $cache=self::LOOKUP_CACHING_ENABLED, string $lookupMode=LookupConstants::LATEST_FROM_REPLICA) | |
getEntityRevisionLookup ( $cache=self::LOOKUP_CACHING_ENABLED) | |
getEntityStore () | |
getEntityStoreWatcher () | |
Returns an EntityStoreWatcher that should be notified of changes to entities, in order to keep any caches updated. More... | |
getPropertyInfoLookup () | |
getPropertyInfoStore () | |
getEntityPrefetcher () | |
Returns an EntityPrefetcher which can be used to prefetch a list of entity ids in case we need to for example load a batch of entity ids. More... | |
getEntityChangeLookup () | |
getChangeStore () | |
Public Attributes | |
const | LOOKUP_CACHING_ENABLED = '' |
const | LOOKUP_CACHING_DISABLED = 'uncached' |
const | LOOKUP_CACHING_RETRIEVE_ONLY = 'retrieve-only' |
Store interface.
All interaction with store Wikibase does on top of storing pages and associated core MediaWiki indexing is done through this interface.
Wikibase\Repo\Store\Store::getChangeStore | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityByLinkedTitleLookup | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityChangeLookup | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityLookup | ( | $cache = self::LOOKUP_CACHING_ENABLED , |
|
string | $lookupMode = LookupConstants::LATEST_FROM_REPLICA |
||
) |
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) |
string | $lookupMode | One of LookupConstants::LATEST_FROM_* |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityPrefetcher | ( | ) |
Returns an EntityPrefetcher which can be used to prefetch a list of entity ids in case we need to for example load a batch of entity ids.
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityRedirectLookup | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::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) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityStore | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getEntityStoreWatcher | ( | ) |
Returns an EntityStoreWatcher that should be notified of changes to entities, in order to keep any caches updated.
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getPropertyInfoLookup | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::getPropertyInfoStore | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::newItemsWithoutSitelinksFinder | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
Wikibase\Repo\Store\Store::newSiteLinkStore | ( | ) |
Implemented in Wikibase\Repo\Store\Sql\SqlStore.
const Wikibase\Repo\Store\Store::LOOKUP_CACHING_DISABLED = 'uncached' |
const Wikibase\Repo\Store\Store::LOOKUP_CACHING_ENABLED = '' |
const Wikibase\Repo\Store\Store::LOOKUP_CACHING_RETRIEVE_ONLY = 'retrieve-only' |