de.lmu.ifi.dbs.elki.datasource
Class ExternalIDJoinDatabaseConnection

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection
      extended by de.lmu.ifi.dbs.elki.datasource.ExternalIDJoinDatabaseConnection
All Implemented Interfaces:
DatabaseConnection, InspectionUtilFrequentlyScanned, Parameterizable

public class ExternalIDJoinDatabaseConnection
extends AbstractDatabaseConnection
implements Parameterizable

Joins multiple data sources by their label


Nested Class Summary
static class ExternalIDJoinDatabaseConnection.Parameterizer
          Parameterization class.
 
Field Summary
private static Logging logger
          Logger
protected  List<DatabaseConnection> sources
          The filters to invoke
 
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection
filters, FILTERS_ID, LABEL_CONCATENATION
 
Constructor Summary
ExternalIDJoinDatabaseConnection(List<ObjectFilter> filters, List<DatabaseConnection> sources)
          Constructor.
 
Method Summary
protected  Logging getLogger()
          Get the logger for this database connection.
 MultipleObjectsBundle loadData()
          Returns the initial data for a database.
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.AbstractDatabaseConnection
invokeFilters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logging logger
Logger


sources

protected final List<DatabaseConnection> sources
The filters to invoke

Constructor Detail

ExternalIDJoinDatabaseConnection

public ExternalIDJoinDatabaseConnection(List<ObjectFilter> filters,
                                        List<DatabaseConnection> sources)
Constructor.

Parameters:
filters - Filters to use.
sources - Data sources to join.
Method Detail

loadData

public MultipleObjectsBundle loadData()
Description copied from interface: DatabaseConnection
Returns the initial data for a database.

Specified by:
loadData in interface DatabaseConnection
Returns:
a database object bundle

getLogger

protected Logging getLogger()
Description copied from class: AbstractDatabaseConnection
Get the logger for this database connection.

Specified by:
getLogger in class AbstractDatabaseConnection
Returns:
Logger

Release 0.4.0 (2011-09-20_1324)