Open Data Catalog v
Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset Class Reference
Inheritance diagram for Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset:

Public Member Functions

 getPropertyDefinitions ()
 
 getItemIds ($page=NULL)
 
 loadMultiple (array $ids)
 
 getItemId (ComplexDataInterface $item)
 

Protected Attributes

const PAGE_SIZE = 250
 

Detailed Description

Represents a datasource which exposes DKAN data.

@SearchApiDatasource( id = "dkan_dataset", label = "DKAN Dataset", )

Todo:
We should rely more in the metastore instead of direct entity queries and direct connections to storage classes.

Definition at line 21 of file DkanDataset.php.

Member Function Documentation

◆ getItemId()

Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset::getItemId ( ComplexDataInterface  $item)

Inherited.

Definition at line 84 of file DkanDataset.php.

◆ getItemIds()

Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset::getItemIds (   $page = NULL)

Inherited.

Definition at line 44 of file DkanDataset.php.

◆ getPropertyDefinitions()

Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset::getPropertyDefinitions ( )

Inherited.

Definition at line 35 of file DkanDataset.php.

◆ loadMultiple()

Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset::loadMultiple ( array  $ids)

Inherited.

Definition at line 66 of file DkanDataset.php.

Member Data Documentation

◆ PAGE_SIZE

const Drupal\metastore_search\Plugin\search_api\datasource\DkanDataset::PAGE_SIZE = 250
protected

Definition at line 28 of file DkanDataset.php.