org.qi4j.index.sql.support.common
Class GenericDatabaseExplorer

java.lang.Object
  extended by org.qi4j.index.sql.support.common.GenericDatabaseExplorer

public final class GenericDatabaseExplorer
extends Object

This is a helper class to traverse through all content in specified tables in database. Typical usecase would be by IndexExporter implementation.


Nested Class Summary
static class GenericDatabaseExplorer.ColumnInfo
           
static interface GenericDatabaseExplorer.DatabaseProcessor
           
static class GenericDatabaseExplorer.DatabaseProcessorAdapter
           
static class GenericDatabaseExplorer.Deferrability
           
static class GenericDatabaseExplorer.ForeignKeyInfo
           
static class GenericDatabaseExplorer.IntegrityActions
           
 
Constructor Summary
GenericDatabaseExplorer()
           
 
Method Summary
static void visitDatabaseTables(Connection connection, String catalogName, String schemaNamePattern, String tableNamePattern, GenericDatabaseExplorer.DatabaseProcessor processor, org.sql.generation.api.vendor.SQLVendor sqlSyntaxVendor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDatabaseExplorer

public GenericDatabaseExplorer()
Method Detail

visitDatabaseTables

public static void visitDatabaseTables(Connection connection,
                                       String catalogName,
                                       String schemaNamePattern,
                                       String tableNamePattern,
                                       GenericDatabaseExplorer.DatabaseProcessor processor,
                                       org.sql.generation.api.vendor.SQLVendor sqlSyntaxVendor)
                                throws SQLException
Throws:
SQLException