Tripal
|
Public Member Functions | |
__construct () | |
create (string $table_name, string $chado_schema=NULL) | |
loadById (int $id) | |
loadbyName (string $table_name, string $chado_schema=NULL) | |
findByName (string $table_name, string $chado_schema=NULL) | |
getTables (string $chado_schema=NULL) | |
Drupal\tripal_chado\Services\ChadoMviewsManager::__construct | ( | ) |
Instantiates a new ChadoCustomTableManager object.
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.
Drupal\tripal_chado\Services\ChadoMviewsManager::create | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Creates a new ChadoCustomTable object.
This object will work with the custom table in the default Chado schema. Be sure to call the setSchemaName() on the ChadoConnection object to ensure the custom table is managed in the correct Chado instance.
string | $table_name | The name of the custom table. |
string | $chado_schema | Optional. The chado schema where the custom table will live. If no schema is specified then the default schema is used. |
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.
Drupal\tripal_chado\Services\ChadoMviewsManager::findByName | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Finds the Id of the materialized view matching the name and Chado schema.
string | $table_name | The name of the materialized view table to find the ID for. |
string | $chado_schema | Optional. The chado schema from which to find materialized view. If no schema is specified then the default schema is used. |
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.
Drupal\tripal_chado\Services\ChadoMviewsManager::getTables | ( | string | $chado_schema = NULL | ) |
Retrieve a list of all the materialized views.
string | $chado_schema | Optional. The chado schema from which to retrieve materialized views. If no schema is specified then the default schema is used. |
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.
Drupal\tripal_chado\Services\ChadoMviewsManager::loadById | ( | int | $id | ) |
Loads a materialized view whose Id matches the one provided.
int | $id | The ID of the materialized view |
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.
Drupal\tripal_chado\Services\ChadoMviewsManager::loadbyName | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Loads a custom table that matches the given name and Chado schema.
string | $table_name | The name of the table to find the ID for. |
string | $chado_schema | Optional. The chado schema from which to find a custom tables. If no schema is specified then the default schema is used. |
Reimplemented from Drupal\tripal_chado\Services\ChadoCustomTableManager.