edu.mayo.informatics.lexgrid.convert.formats.outputFormats
Class IndexLexGridDatabase
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.outputFormats.IndexLexGridDatabase
- All Implemented Interfaces:
- OutputFormatInterface
- Direct Known Subclasses:
- IndexLexGridDatabaseSWT
public class IndexLexGridDatabase
- extends java.lang.Object
- implements OutputFormatInterface
Output format for building a lucene index..
- Version:
- subversion $Revision: $ checked in on $Date: $
- Author:
- Dan Armbrust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
public static final java.lang.String description
- See Also:
- Constant Field Values
indexLocation_
protected java.lang.String indexLocation_
indexName_
protected java.lang.String indexName_
normEnabled_
protected boolean normEnabled_
normConfigFile_
protected java.lang.String normConfigFile_
IndexLexGridDatabase
public IndexLexGridDatabase()
IndexLexGridDatabase
public IndexLexGridDatabase(java.lang.String indexLocation,
java.lang.String indexName,
boolean normEnabled,
java.lang.String normConfigFile)
getConnectionSummary
public java.lang.String getConnectionSummary()
- Description copied from interface:
OutputFormatInterface
- Get a summary of the connection parameters.
- Specified by:
getConnectionSummary
in interface OutputFormatInterface
- Returns:
- the summary.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
OutputFormatInterface
- The description of the output type.
- Specified by:
getDescription
in interface OutputFormatInterface
- Returns:
testConnection
public java.lang.String testConnection()
throws ConnectionFailure
- Description copied from interface:
OutputFormatInterface
- See if the provided parameters make a valid connection
- Specified by:
testConnection
in interface OutputFormatInterface
- Returns:
- An optional warning about the connection - for example, SQL
implementations may want to return a warning if the existing sql
tables are a different version than what is expected.
- Throws:
ConnectionFailure
- If a connection can't be made.
getOptions
public Option[] getOptions()
- Specified by:
getOptions
in interface OutputFormatInterface
getIndexLocation
public java.lang.String getIndexLocation()
getIndexName
public java.lang.String getIndexName()
getNormConfigFile
public java.lang.String getNormConfigFile()
isNormEnabled
public boolean isNormEnabled()