Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.database.connection
Class FileBasedDatabaseConnection<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.database.connection.AbstractDatabaseConnection<O>
          extended by de.lmu.ifi.dbs.elki.database.connection.InputStreamDatabaseConnection<O>
              extended by de.lmu.ifi.dbs.elki.database.connection.FileBasedDatabaseConnection<O>
Type Parameters:
O - the type of DatabaseObject to be provided by the implementing class as element of the supplied database
All Implemented Interfaces:
DatabaseConnection<O>, Parameterizable

public class FileBasedDatabaseConnection<O extends DatabaseObject>
extends InputStreamDatabaseConnection<O>

Provides a file based database connection based on the parser to be set.

Author:
Arthur Zimek

Field Summary
static OptionID INPUT_ID
          OptionID for INPUT_PARAM
private  FileParameter INPUT_PARAM
          Parameter that specifies the name of the input file to be parsed.
 
Fields inherited from class de.lmu.ifi.dbs.elki.database.connection.InputStreamDatabaseConnection
in, parser, PARSER_ID, SEED_ID
 
Fields inherited from class de.lmu.ifi.dbs.elki.database.connection.AbstractDatabaseConnection
CLASS_LABEL_CLASS_ID, CLASS_LABEL_INDEX_ID, classLabelIndex, database, DATABASE_ID, EXTERNAL_ID_INDEX_ID, LABEL_CONCATENATION
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
FileBasedDatabaseConnection(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
 
Methods inherited from class de.lmu.ifi.dbs.elki.database.connection.InputStreamDatabaseConnection
getDatabase
 
Methods inherited from class de.lmu.ifi.dbs.elki.database.connection.AbstractDatabaseConnection
normalizeAndTransformLabels
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT_ID

public static final OptionID INPUT_ID
OptionID for INPUT_PARAM


INPUT_PARAM

private final FileParameter INPUT_PARAM
Parameter that specifies the name of the input file to be parsed.

Key: -dbc.in

Constructor Detail

FileBasedDatabaseConnection

public FileBasedDatabaseConnection(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization

Release 0.3 (2010-03-31_1612)