Package elki.datasource
Class DBIDRangeDatabaseConnection
- java.lang.Object
-
- elki.datasource.DBIDRangeDatabaseConnection
-
- All Implemented Interfaces:
DatabaseConnection
@Description("This class generates a sequence of DBIDs to \'load\' into a database. This is useful when using an external data matrix, and not requiring access to the actual vectors.") public class DBIDRangeDatabaseConnection extends java.lang.Object implements DatabaseConnection
This is a fake datasource that produces a static DBID range only.This is useful when using, e.g., a distance matrix to access external data.
- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DBIDRangeDatabaseConnection.Par
Parameterization class.
-
Constructor Summary
Constructors Constructor Description DBIDRangeDatabaseConnection(int start, int count)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipleObjectsBundle
loadData()
Returns the initial data for a database.
-
-
-
Method Detail
-
loadData
public MultipleObjectsBundle loadData()
Description copied from interface:DatabaseConnection
Returns the initial data for a database.- Specified by:
loadData
in interfaceDatabaseConnection
- Returns:
- a database object bundle
-
-