Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Maintenance\DumpJson Class Reference
+ Inheritance diagram for Wikibase\Repo\Maintenance\DumpJson:
+ Collaboration diagram for Wikibase\Repo\Maintenance\DumpJson:

Public Member Functions

 __construct ()
 
 setServices (SqlEntityIdPagerFactory $sqlEntityIdPagerFactory, array $existingEntityTypes, EntityPrefetcher $entityPrefetcher, PropertyDataTypeLookup $propertyDataTypeLookup, EntityRevisionLookup $entityRevisionLookup, Serializer $entitySerializer, EntityIdParser $entityIdParser, EntityTitleStoreLookup $entityTitleStoreLookup)
 
 execute ()
 Do the actual work.
 
- Public Member Functions inherited from Wikibase\Repo\Maintenance\DumpEntities
 setDumpEntitiesServices (SqlEntityIdPagerFactory $sqlEntityIdPagerFactory, array $existingEntityTypes, array $entityTypesToExcludeFromOutput)
 
 logMessage ( $message)
 Outputs a message vis the output() method.
 
 finalSetup (SettingsBuilder $settingsBuilder)
 

Protected Member Functions

 createDumper ( $output)
 Create concrete dumper instance.
 
 getDumpType ()
 Used in description of script at command-line.
 
- Protected Member Functions inherited from Wikibase\Repo\Maintenance\DumpEntities
 getRedirectMode ()
 Returns EntityIdPager::NO_REDIRECTS.
 
 getEntityRevisionLookupCacheMode ()
 Cache flag for use in Store::getEntityRevisionLookup.
 

Private Attributes

 $entityRevisionLookup
 
 $entityTitleStoreLookup
 
 $entitySerializer
 
 $entityPrefetcher
 
 $propertyDatatypeLookup
 
 $hasHadServicesSet = false
 
 $entityIdParser
 

Detailed Description

Author
Daniel Kinzler
Addshore

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Maintenance\DumpJson::__construct ( )

Member Function Documentation

◆ createDumper()

Wikibase\Repo\Maintenance\DumpJson::createDumper ( $output)
protected

Create concrete dumper instance.

Parameters
resource$output
Returns
DumpGenerator

Reimplemented from Wikibase\Repo\Maintenance\DumpEntities.

◆ execute()

Wikibase\Repo\Maintenance\DumpJson::execute ( )

Do the actual work.

All child classes will need to implement this

Reimplemented from Wikibase\Repo\Maintenance\DumpEntities.

◆ getDumpType()

Wikibase\Repo\Maintenance\DumpJson::getDumpType ( )
protected

Used in description of script at command-line.

Returns
string

Reimplemented from Wikibase\Repo\Maintenance\DumpEntities.

◆ setServices()

Wikibase\Repo\Maintenance\DumpJson::setServices ( SqlEntityIdPagerFactory $sqlEntityIdPagerFactory,
array $existingEntityTypes,
EntityPrefetcher $entityPrefetcher,
PropertyDataTypeLookup $propertyDataTypeLookup,
EntityRevisionLookup $entityRevisionLookup,
Serializer $entitySerializer,
EntityIdParser $entityIdParser,
EntityTitleStoreLookup $entityTitleStoreLookup )

Member Data Documentation

◆ $entityIdParser

Wikibase\Repo\Maintenance\DumpJson::$entityIdParser
private

◆ $entityPrefetcher

Wikibase\Repo\Maintenance\DumpJson::$entityPrefetcher
private

◆ $entityRevisionLookup

Wikibase\Repo\Maintenance\DumpJson::$entityRevisionLookup
private

◆ $entitySerializer

Wikibase\Repo\Maintenance\DumpJson::$entitySerializer
private

◆ $entityTitleStoreLookup

Wikibase\Repo\Maintenance\DumpJson::$entityTitleStoreLookup
private

◆ $hasHadServicesSet

Wikibase\Repo\Maintenance\DumpJson::$hasHadServicesSet = false
private

◆ $propertyDatatypeLookup

Wikibase\Repo\Maintenance\DumpJson::$propertyDatatypeLookup
private

The documentation for this class was generated from the following file: