net.sourceforge.addam.ddlgen.oracle
Class IndexGenerator
java.lang.Object
net.sourceforge.addam.ddlgen.oracle.DBMSMetadataGenerator
net.sourceforge.addam.ddlgen.oracle.IndexGenerator
- All Implemented Interfaces:
- Generator
public class IndexGenerator
- extends DBMSMetadataGenerator
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. |
String |
objectType()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_SQL
private static final String TABLE_SQL
- See Also:
- Constant Field Values
INDEX_SQL
private static final String INDEX_SQL
- See Also:
- Constant Field Values
IndexGenerator
public IndexGenerator()
objectType
public String objectType()
- Specified by:
objectType
in class DBMSMetadataGenerator
getObjects
public List<String> getObjects(String catalog,
String schema,
Filter filter,
Connection connection,
DatabaseMetaData metadata)
throws Exception
- Description copied from interface:
Generator
- Return the list of objects for the given catalog and schema.
- Specified by:
getObjects
in interface Generator
- Overrides:
getObjects
in class DBMSMetadataGenerator
- Parameters:
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
- Returns:
-
- Throws:
Exception
generate
public void generate(String catalog,
String schema,
String object,
String vendor,
Connection connection,
DatabaseMetaData metadata,
BufferedWriter writer)
throws Exception
- Description copied from interface:
Generator
- writes a SQL/DDL scripts for the given object to the writer
- Specified by:
generate
in interface Generator
- Overrides:
generate
in class DBMSMetadataGenerator
- Parameters:
catalog
- the database object's catalogschema
- the database object's schemaobject
- the database object to generateconnection
- the database connectionmetadata
- database metadata for the connectionwriter
- what to write the generated SQL/DDL to
- Throws:
Exception
Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.