Package elki.database
Class StaticArrayDatabase.Par
- java.lang.Object
-
- elki.database.AbstractDatabase.Par
-
- elki.database.StaticArrayDatabase.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- StaticArrayDatabase
public static class StaticArrayDatabase.Par extends AbstractDatabase.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected DatabaseConnection
databaseConnection
Holds the database connection to get the initial data from.private java.util.Collection<? extends IndexFactory<?>>
indexFactories
Indexes to add.-
Fields inherited from class elki.database.AbstractDatabase.Par
DATABASE_CONNECTION_ID, INDEX_ID
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.StaticArrayDatabase
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
databaseConnection
protected DatabaseConnection databaseConnection
Holds the database connection to get the initial data from.
-
indexFactories
private java.util.Collection<? extends IndexFactory<?>> indexFactories
Indexes to add.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Parameters:
config
- Parameterization
-
make
public StaticArrayDatabase make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Specified by:
make
in classAbstractDatabase.Par
- Returns:
- a new instance
-
-