Package elki.datasource
Class ExternalIDJoinDatabaseConnection
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection
-
- elki.datasource.ExternalIDJoinDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
public class ExternalIDJoinDatabaseConnection extends AbstractDatabaseConnection
Joins multiple data sources by their label- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalIDJoinDatabaseConnection.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
Loggerprotected java.util.List<? extends DatabaseConnection>
sources
The filters to invoke-
Fields inherited from class elki.datasource.AbstractDatabaseConnection
filters, LABEL_CONCATENATION
-
-
Constructor Summary
Constructors Constructor Description ExternalIDJoinDatabaseConnection(java.util.List<? extends ObjectFilter> filters, java.util.List<? extends DatabaseConnection> sources)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Logging
getLogger()
Get the logger for this database connection.MultipleObjectsBundle
loadData()
Returns the initial data for a database.-
Methods inherited from class elki.datasource.AbstractDatabaseConnection
invokeBundleFilters, invokeStreamFilters
-
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Logger
-
sources
protected final java.util.List<? extends DatabaseConnection> sources
The filters to invoke
-
-
Constructor Detail
-
ExternalIDJoinDatabaseConnection
public ExternalIDJoinDatabaseConnection(java.util.List<? extends ObjectFilter> filters, java.util.List<? extends 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.- 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 classAbstractDatabaseConnection
- Returns:
- Logger
-
-