Tripal
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Drupal\tripal_chado\Services\chadoInstaller Class Reference
Inheritance diagram for Drupal\tripal_chado\Services\chadoInstaller:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Services\chadoInstaller:
Collaboration graph
[legend]

Public Member Functions

 install ($version)
 
 update ($version)
 
- Public Member Functions inherited from Drupal\tripal\Services\bulkPgSchemaInstaller
 __construct ()
 
 setSchema ($schema_name)
 
 setJob (\Drupal\tripal\Services\TripalJob $job)
 
 getDrupalConnection ()
 
 getPgConnection ()
 
 getLogger ()
 
 dropSchema ($schema_name)
 
 createSchema ($schema_name)
 
 checkSchema ($schema_name)
 
 applySQL ($sql_file, $schema_name=FALSE, $append_search_path=FALSE)
 

Protected Member Functions

 applyDefaultSchema ($version)
 

Protected Attributes

 $curVersion
 
 $newVersion
 
 $schemaName
 
 $installNumChunks
 
- Protected Attributes inherited from Drupal\tripal\Services\bulkPgSchemaInstaller
 $schemaName
 
 $connection
 
 $pgconnection
 
 $logger
 
 $job = NULL
 

Member Function Documentation

◆ applyDefaultSchema()

Drupal\tripal_chado\Services\chadoInstaller::applyDefaultSchema (   $version)
protected

Applies the table definition SQL files.

Parameters
float$versionThe version of the chado schema to install.
Returns
bool Whether the install was successful.

◆ install()

Drupal\tripal_chado\Services\chadoInstaller::install (   $version)

Install chado in the specified schema.

Parameters
float$versionThe version of chado you would like to install.

◆ update()

Drupal\tripal_chado\Services\chadoInstaller::update (   $version)

Updates chado in the specified schema.

Parameters
float$versionThe version of chado you would like to update to.

Member Data Documentation

◆ $curVersion

Drupal\tripal_chado\Services\chadoInstaller::$curVersion
protected

The version of the current and new chado schema specified by $schemaName.

◆ $installNumChunks

Drupal\tripal_chado\Services\chadoInstaller::$installNumChunks
protected
Initial value:
= [
1.3 => 41,
]

The number of chunk files per version we can install.

◆ $schemaName

Drupal\tripal_chado\Services\chadoInstaller::$schemaName
protected

The name of the schema we are interested in installing/updating chado for.


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