Package elki.datasource
Class AbstractDatabaseConnection.Par
- java.lang.Object
-
- elki.datasource.AbstractDatabaseConnection.Par
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
BundleDatabaseConnection.Par
,ConcatenateFilesDatabaseConnection.Par
,ExternalIDJoinDatabaseConnection.Par
,GeneratorXMLDatabaseConnection.Par
,InputStreamDatabaseConnection.Par
,LabelJoinDatabaseConnection.Par
,PresortedBlindJoinDatabaseConnection.Par
,RandomDoubleVectorDatabaseConnection.Par
- Enclosing class:
- AbstractDatabaseConnection
public abstract static class AbstractDatabaseConnection.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<? extends ObjectFilter>
filters
Filtersstatic OptionID
FILTERS_ID
Filters to apply to the input data.protected Parser
parser
Parser to usestatic OptionID
PARSER_ID
Parameter to specify the parser to provide a database.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configFilters(Parameterization config)
Get the filters parameterprotected void
configParser(Parameterization config, java.lang.Class<?> parserRestrictionClass, java.lang.Class<?> parserDefaultValueClass)
Get the parser parameter-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.utilities.optionhandling.Parameterizer
configure, make
-
-
-
-
Field Detail
-
FILTERS_ID
public static final OptionID FILTERS_ID
Filters to apply to the input data.
-
PARSER_ID
public static final OptionID PARSER_ID
Parameter to specify the parser to provide a database.
-
filters
protected java.util.List<? extends ObjectFilter> filters
Filters
-
parser
protected Parser parser
Parser to use
-
-
Method Detail
-
configFilters
protected void configFilters(Parameterization config)
Get the filters parameter- Parameters:
config
- Parameterization
-
configParser
protected void configParser(Parameterization config, java.lang.Class<?> parserRestrictionClass, java.lang.Class<?> parserDefaultValueClass)
Get the parser parameter- Parameters:
config
- ParameterizationparserRestrictionClass
- Restriction classparserDefaultValueClass
- Default value
-
-