Open Data Catalog v2.0.0
Drupal\dkan_datastore\Storage\JobStore Class Reference
Inheritance diagram for Drupal\dkan_datastore\Storage\JobStore:
Drupal\dkan_common\Storage\AbstractDatabaseTable

Public Member Functions

 __construct (string $jobClass, Connection $connection)
 
 retrieve (string $id)
 
- Public Member Functions inherited from Drupal\dkan_common\Storage\AbstractDatabaseTable
 __construct (Connection $connection)
 
 retrieveAll ()
 
 store ($data, string $id=NULL)
 
 storeMultiple (array $data)
 
 remove (string $id)
 
 count ()
 
 query (Query $query)
 
 destroy ()
 

Protected Member Functions

 getTableName ()
 
 prepareData (string $data, string $id=NULL)
 
 primaryKey ()
 
- Protected Member Functions inherited from Drupal\dkan_common\Storage\AbstractDatabaseTable
 getNonSerialFields ()
 

Additional Inherited Members

- Protected Attributes inherited from Drupal\dkan_common\Storage\AbstractDatabaseTable
 $connection
 

Detailed Description

Retrieve a serialized job (datastore importer or harvest) from the database.

Definition at line 12 of file JobStore.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\dkan_datastore\Storage\JobStore::__construct ( string  $jobClass,
Connection  $connection 
)

Constructor.

Definition at line 19 of file JobStore.php.

Member Function Documentation

◆ getTableName()

Drupal\dkan_datastore\Storage\JobStore::getTableName ( )
protected

Protected.

Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.

Definition at line 39 of file JobStore.php.

◆ prepareData()

Drupal\dkan_datastore\Storage\JobStore::prepareData ( string  $data,
string  $id = NULL 
)
protected

Inherited.

@inheritDoc

Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.

Definition at line 80 of file JobStore.php.

◆ primaryKey()

Drupal\dkan_datastore\Storage\JobStore::primaryKey ( )
protected

Inherited.

@inheritDoc

Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.

Definition at line 89 of file JobStore.php.

◆ retrieve()

Drupal\dkan_datastore\Storage\JobStore::retrieve ( string  $id)

Get.

Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.

Definition at line 31 of file JobStore.php.