org.apache.lucene.store.jdbc.dialect
Class DialectResolver.DatabaseNameToDialectMapper

java.lang.Object
  extended by org.apache.lucene.store.jdbc.dialect.DialectResolver.DatabaseNameToDialectMapper
All Implemented Interfaces:
DialectResolver.DatabaseMetaDataToDialectMapper
Enclosing class:
DialectResolver

public static class DialectResolver.DatabaseNameToDialectMapper
extends Object
implements DialectResolver.DatabaseMetaDataToDialectMapper


Constructor Summary
DialectResolver.DatabaseNameToDialectMapper(String databaseName, Class dialect)
           
 
Method Summary
 Class getDialect(DatabaseMetaData metaData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialectResolver.DatabaseNameToDialectMapper

public DialectResolver.DatabaseNameToDialectMapper(String databaseName,
                                                   Class dialect)
Method Detail

getDialect

public Class getDialect(DatabaseMetaData metaData)
                 throws SQLException
Specified by:
getDialect in interface DialectResolver.DatabaseMetaDataToDialectMapper
Throws:
SQLException


Copyright (c) 2004-2008 The Compass Project.