Package elki.datasource
Class PresortedBlindJoinDatabaseConnection
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection
-
- elki.datasource.PresortedBlindJoinDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
@Description("Blindly joins multiple data sources, assuming they are ordered the same way.") public class PresortedBlindJoinDatabaseConnection extends AbstractDatabaseConnection
Joins multiple data sources by their existing order. Make sure the data sources are ordered appropriately!- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PresortedBlindJoinDatabaseConnection.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 PresortedBlindJoinDatabaseConnection(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
-
PresortedBlindJoinDatabaseConnection
public PresortedBlindJoinDatabaseConnection(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
-
-