Wikibase
MediaWiki Wikibase extension
|
A PrefetchingTermLookup
that only supports items, using the new, normalized schema (starting at wbt_item_terms).
More...
Protected Member Functions | |
makeMapping () | |
Protected Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\PrefetchingEntityTermLookupBase | |
getTermsOfType (EntityId $entityId, $termType, array $languageCodes) | |
Gets the text string terms for a given type. | |
Protected Member Functions inherited from Wikibase\Lib\Store\EntityTermLookupBase | |
convertTermsToMap (array $wikibaseTerms) | |
Protected Attributes | |
$entityIdClass = ItemId::class | |
$statsPrefix = 'PrefetchingItemTermLookup' | |
Protected Attributes inherited from Wikibase\Lib\Store\Sql\Terms\PrefetchingEntityTermLookupBase | |
$entityIdClass | |
$statsPrefix | |
$termInLangIdsResolver | |
Additional Inherited Members | |
Public Member Functions inherited from Wikibase\Lib\Store\Sql\Terms\PrefetchingEntityTermLookupBase | |
__construct (DatabaseTermInLangIdsResolver $termInlangIdsResolver) | |
getPrefetchedTerm (EntityId $entityId, $termType, $languageCode) | |
Returns a term that was previously loaded by prefetchTerms. | |
getPrefetchedAliases (EntityId $entityId, $languageCode) | |
Returns terms that were previously loaded by prefetchTerms. | |
Public Member Functions inherited from Wikibase\Lib\Store\EntityTermLookupBase | |
getLabel (EntityId $entityId, $languageCode) | |
getLabels (EntityId $entityId, array $languageCodes) | |
getDescription (EntityId $entityId, $languageCode) | |
getDescriptions (EntityId $entityId, array $languageCodes) | |
Public Member Functions inherited from Wikibase\DataModel\Services\Term\TermBuffer | |
prefetchTerms (array $entityIds, array $termTypes, array $languageCodes) | |
Loads a set of terms into the buffer. | |
A PrefetchingTermLookup
that only supports items, using the new, normalized schema (starting at wbt_item_terms).
Prefetches from DatabaseTermInLangIdsResolver(DB) and stores them in $terms (current process only). Looks up terms from $terms.
Shares the same implementation with PrefetchingPropertyTermLookup
|
protected |
|
protected |
|
protected |