com.rapidminer.repository.db
Class StandardDBConnectionToIOObjectConverter

java.lang.Object
  extended by com.rapidminer.repository.db.StandardDBConnectionToIOObjectConverter
All Implemented Interfaces:
DBConnectionToIOObjectConverter

public class StandardDBConnectionToIOObjectConverter
extends java.lang.Object
implements DBConnectionToIOObjectConverter

Simply converts the table to an ExampleSet.

Author:
Simon Fischer

Constructor Summary
StandardDBConnectionToIOObjectConverter()
           
 
Method Summary
 IOObject convert(ConnectionEntry connection, TableName tableName)
          Retrieves the actual data and returns it.
 MetaData convertMetaData(ConnectionEntry connection, TableName tableName, java.util.List<ColumnIdentifier> columns)
          Returns meta data describing the entry.
 java.lang.String getSuffix()
          Returns a suffix to be appended to entries in the repository tree to identify the converter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDBConnectionToIOObjectConverter

public StandardDBConnectionToIOObjectConverter()
Method Detail

convert

public IOObject convert(ConnectionEntry connection,
                        TableName tableName)
                 throws OperatorException
Description copied from interface: DBConnectionToIOObjectConverter
Retrieves the actual data and returns it.

Specified by:
convert in interface DBConnectionToIOObjectConverter
Throws:
OperatorException

convertMetaData

public MetaData convertMetaData(ConnectionEntry connection,
                                TableName tableName,
                                java.util.List<ColumnIdentifier> columns)
Description copied from interface: DBConnectionToIOObjectConverter
Returns meta data describing the entry.

Specified by:
convertMetaData in interface DBConnectionToIOObjectConverter

getSuffix

public java.lang.String getSuffix()
Description copied from interface: DBConnectionToIOObjectConverter
Returns a suffix to be appended to entries in the repository tree to identify the converter.

Specified by:
getSuffix in interface DBConnectionToIOObjectConverter


Copyright © 2001-2009 by Rapid-I