Package elki.datasource
Class LabelJoinDatabaseConnection
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection
-
- elki.datasource.LabelJoinDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
public class LabelJoinDatabaseConnection 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
LabelJoinDatabaseConnection.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 LabelJoinDatabaseConnection(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
-
LabelJoinDatabaseConnection
public LabelJoinDatabaseConnection(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
-
-