de.lmu.ifi.dbs.elki.database.connection
Interface DatabaseConnection<O extends DatabaseObject>
- Type Parameters:
O
- the type of DatabaseObject to be provided by the implementing class as element of the supplied database
- All Superinterfaces:
- Parameterizable
- All Known Implementing Classes:
- AbstractDatabaseConnection, FileBasedDatabaseConnection, InputStreamDatabaseConnection, MultipleFileBasedDatabaseConnection
public interface DatabaseConnection<O extends DatabaseObject>
- extends Parameterizable
DatabaseConnection is to provide a database.
A database connection is to
manage the input and to provide a database where algorithms can run on. An
implementation may either use a parser to parse a sequential file or piped
input and provide a file based database or provide an intermediate connection
to a database system.
- Author:
- Arthur Zimek
PROPERTY_PARSER
static final String PROPERTY_PARSER
- Property key for available parsers.
- See Also:
- Constant Field Values
PROPERTY_DATABASE
static final String PROPERTY_DATABASE
- Property key for available databases.
- See Also:
- Constant Field Values
getDatabase
Database<O> getDatabase(Normalization<O> normalization)
- Returns a Database according to parameter settings.
- Parameters:
normalization
- Normalization to perform a normalization if this action is
supported. May remain null.
- Returns:
- a Database according to parameter settings