Package elki.datasource
Class ConcatenateFilesDatabaseConnection
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection
-
- elki.datasource.ConcatenateFilesDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
public class ConcatenateFilesDatabaseConnection extends AbstractDatabaseConnection
Database that will loading multiple files, concatenating the results.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConcatenateFilesDatabaseConnection.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.net.URI>
files
Input file list.private static Logging
LOG
Class logger.private Parser
parser
The parser.-
Fields inherited from class elki.datasource.AbstractDatabaseConnection
filters, LABEL_CONCATENATION
-
-
Constructor Summary
Constructors Constructor Description ConcatenateFilesDatabaseConnection(java.util.List<java.net.URI> files, Parser parser, java.util.List<? extends ObjectFilter> filters)
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
-
-
-
-
Constructor Detail
-
ConcatenateFilesDatabaseConnection
public ConcatenateFilesDatabaseConnection(java.util.List<java.net.URI> files, Parser parser, java.util.List<? extends ObjectFilter> filters)
Constructor.- Parameters:
files
- Input filesparser
- Parserfilters
- Filters
-
-
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
-
-