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

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

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


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

Constructor Detail

DialectResolver.DatabaseNameStartsWithToDialectMapper

public DialectResolver.DatabaseNameStartsWithToDialectMapper(String databaseName,
                                                             Class<? extends Dialect> dialect)
Method Detail

getDialect

public Class<? extends Dialect> getDialect(DatabaseMetaData metaData)
                                    throws SQLException
Specified by:
getDialect in interface DialectResolver.DatabaseMetaDataToDialectMapper
Throws:
SQLException


Copyright (c) 2004-2009 The Compass Project.