Package elki.datasource
Class EmptyDatabaseConnection
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection
-
- elki.datasource.EmptyDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
@Title("Empty Database") @Description("Dummy data source that does not provide any objects.") public class EmptyDatabaseConnection extends AbstractDatabaseConnection
Pseudo database that is empty.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class elki.datasource.AbstractDatabaseConnection
AbstractDatabaseConnection.Par
-
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
Static logger-
Fields inherited from class elki.datasource.AbstractDatabaseConnection
filters, LABEL_CONCATENATION
-
-
Constructor Summary
Constructors Constructor Description EmptyDatabaseConnection()
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
Static logger
-
-
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
-
-