|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Generator
Implementations of this class are used for generating SQL/DDL scripts.
| Method Summary | |
|---|---|
void |
generate(String catalog,
String schema,
String object,
String vendor,
Connection connection,
DatabaseMetaData metadata,
BufferedWriter writer)
writes a SQL/DDL scripts for the given object to the writer |
List<String> |
getObjects(String catalog,
String schema,
Filter filter,
Connection connection,
DatabaseMetaData metadata)
Return the list of objects for the given catalog and schema. |
| Method Detail |
|---|
List<String> getObjects(String catalog,
String schema,
Filter filter,
Connection connection,
DatabaseMetaData metadata)
throws Exception
catalog - the database object's catalogschema - the database object's schemafilter - the definition of the generator (used for included/excluded objects)connection - the database connectionmetadata - database metadata for the connection
Exception
void generate(String catalog,
String schema,
String object,
String vendor,
Connection connection,
DatabaseMetaData metadata,
BufferedWriter writer)
throws Exception
catalog - the database object's catalogschema - the database object's schemaobject - the database object to generatevendor - connection - the database connectionmetadata - database metadata for the connectionwriter - what to write the generated SQL/DDL to
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||