edu.mayo.informatics.lexgrid.convert.formats.inputFormats
Class LexGridSQL
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
edu.mayo.informatics.lexgrid.convert.formats.inputFormats.LexGridSQL
- All Implemented Interfaces:
- InputFormatInterface
- Direct Known Subclasses:
- LexGridSQLSWT
public class LexGridSQL
- extends SQLBase
- implements InputFormatInterface
Details for connecting to SQL.
- Version:
- subversion $Revision: 8601 $ checked in on $Date: 2008-06-05
22:28:55 +0000 (Thu, 05 Jun 2008) $
- Author:
- Dan Armbrust, Deepak Sharma
Field Summary |
static java.lang.String |
description
|
protected static org.apache.log4j.Logger |
log
|
Constructor Summary |
LexGridSQL()
|
LexGridSQL(java.lang.String username,
java.lang.String password,
java.lang.String server,
java.lang.String driver,
java.lang.String tablePrefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
description
public static final java.lang.String description
- See Also:
- Constant Field Values
LexGridSQL
public LexGridSQL(java.lang.String username,
java.lang.String password,
java.lang.String server,
java.lang.String driver,
java.lang.String tablePrefix)
LexGridSQL
public LexGridSQL()
getConnectionSummary
public java.lang.String getConnectionSummary()
- Description copied from interface:
InputFormatInterface
- Get a summary of the connection parameters.
- Specified by:
getConnectionSummary
in interface InputFormatInterface
- Returns:
- the summary.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
InputFormatInterface
- Get the description of the input type.
- Specified by:
getDescription
in interface InputFormatInterface
- Returns:
getOptions
public Option[] getOptions()
- Description copied from interface:
InputFormatInterface
- Get the additional options that must be supplied before the reading can
happen.
- Specified by:
getOptions
in interface InputFormatInterface
- Returns:
getSupportedOutputFormats
public java.lang.String[] getSupportedOutputFormats()
- Description copied from interface:
InputFormatInterface
- Get the supported Output formats for this input format.
- Specified by:
getSupportedOutputFormats
in interface InputFormatInterface
- Returns:
getAvailableTerminologies
public java.lang.String[] getAvailableTerminologies()
throws ConnectionFailure,
UnexpectedError
- Specified by:
getAvailableTerminologies
in interface InputFormatInterface
- Throws:
ConnectionFailure
UnexpectedError