ensembl-hive  2.1
 All Classes Namespaces Files Functions Pages
Bio::EnsEMBL::Hive::DBSQL::DBConnection Class Reference
+ Inheritance diagram for Bio::EnsEMBL::Hive::DBSQL::DBConnection:
+ Collaboration diagram for Bio::EnsEMBL::Hive::DBSQL::DBConnection:

Public Member Functions

public new ()
 
public String url ()
 
public protected_prepare_execute ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::DBSQL::CoreDBConnection
public
Bio::EnsEMBL::DBSQL::DBConnection 
new ()
 
public void connect ()
 
public Undef connected ()
 
public disconnect_count ()
 
public timeout ()
 
public query_count ()
 
public Boolean equals ()
 
public String driver ()
 
public String port ()
 
public String dbname ()
 
public String username ()
 
public String user ()
 
public String host ()
 
public String hostname ()
 
public String password ()
 
public String pass ()
 
public Boolean disconnect_when_inactive ()
 
public Boolean reconnect_when_lost ()
 
public String locator ()
 
public DBI db_handle ()
 
public DBI prepare ()
 
public void reconnect ()
 
public Result do ()
 
public Any work_with_db_handle ()
 
public void prevent_disconnect ()
 
public Boolean disconnect_if_idle ()
 
public SQLStatement add_limit_clause ()
 
public String from_date_to_seconds ()
 
public String from_seconds_to_date ()
 

Detailed Description

Synopsis

my $url = $dbc->url();

Description

    Extends the functionality of Bio::EnsEMBL::Hive::DBSQL::CoreDBConnection with things needed by the Hive

Member Function Documentation

public Bio::EnsEMBL::Hive::DBSQL::DBConnection::new ( )

Undocumented method

Code:
click to view
public Bio::EnsEMBL::Hive::DBSQL::DBConnection::protected_prepare_execute ( )

Undocumented method

Code:
click to view
public String Bio::EnsEMBL::Hive::DBSQL::DBConnection::url ( )
    Arg [1]    : String $environment_variable_name_to_store_password_in (optional)
    Example    :
$url = $dbc->url;
    Description: Constructs a URL string for this database connection.
    Returntype : string of format  mysql://<user>:<pass><host>:<port>/<dbname>
                               or  sqlite:///<dbname>
    Exceptions : none
    Caller     : general
 
Code:
click to view

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