|
ensembl-hive
2.8.1
|
Public Member Functions | |
| public Bio::EnsEMBL::DBSQL::MergedAdaptor | new () |
| protected | _populate_adaptors () |
| public | add_list () |
| public | add_adaptor () |
| public Boolean | can () |
| public Boolean | isa () |
| public Boolean | AUTOLOAD () |
| public | DESTROY () |
The MergedAdaptor object is merely a list of adaptors. AUTOLOAD is used to call a subroutine on each adaptor and merge the results. This object structure allows you to treat a set of adaptors as a logical single entity. The end result is that disparate database source data sets are accessible through a single adaptor call. This code will convert single object return calls into ArrayRef returning calls and so is only safe to use with the fetch_all_XXX or get_all_XXX methods.
Definition at line 36 of file MergedAdaptor.pm.
| protected Bio::EnsEMBL::DBSQL::MergedAdaptor::_populate_adaptors | ( | ) |
Arg [1] : String species name to get adaptors for Arg [2] : String type to get adaptors for Arg [3] : (optional) ArrayRef of groups to load Description : Auto-populates the current MergedAdaptor with the adaptors linked to this species, type and optional set of groups Caller : general Status : At Risk
Code:
| public Bio::EnsEMBL::DBSQL::MergedAdaptor::add_adaptor | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::DBSQL::MergedAdaptor::add_list | ( | ) |
Arg [n] : Adaptors to add into this instance Description : Adds the given adaptors to the internal adaptor list
Code:
Arg [1] : Adaptor to add into this instance
Description : Adds the given adaptor to the internal adaptor list. For
multiple adaptor addition use add_list()./**
| public Boolean Bio::EnsEMBL::DBSQL::MergedAdaptor::AUTOLOAD | ( | ) |
Description : Internal override of AUTLOAD. The code will detect the requested
method, loop through all available adaptors and will
Returntype : Boolean indicating if any delegating object inherits from the given class
Code:
| public Boolean Bio::EnsEMBL::DBSQL::MergedAdaptor::can | ( | ) |
Arg [1] : String method name to be called
Description : Implementation of UNIVERSAL::can(). We loop through the
available adaptors and return true if any will respond
to the given method name
Returntype : Boolean indicating if any delegating object will respond to this method
Code:
| public Bio::EnsEMBL::DBSQL::MergedAdaptor::DESTROY | ( | ) |
Undocumented method
Code:
| public Boolean Bio::EnsEMBL::DBSQL::MergedAdaptor::isa | ( | ) |
Arg [1] : String method name to be called
Description : Implementation of UNIVERSAL::isa(). We loop through the
available adaptors and return true if any inherited from
the given class
Returntype : Boolean indicating if any delegating object inherits from the given class
Code:
| public Bio::EnsEMBL::DBSQL::MergedAdaptor Bio::EnsEMBL::DBSQL::MergedAdaptor::new | ( | ) |
Arg [SPECIES]: String species name to get adaptors for Arg [TYPE] : String type to get adaptors for Arg [GROUPS] : (optional) ArrayRef of groups to load Example :
Description: Creates a new MergedAdaptor. Returntype : Bio::EnsEMBL::DBSQL::MergedAdaptor Exceptions : throws if species or type not specified Caller : general Status : At Risk : Under development
Code: