You can use these as you choose. All the samples have been tested, but you use them entirely at your own risk. We take no reponsibility for what you do with them.
You can download a tar or zip archive of all the source files, or access them individually.
| Compressed tar file, usually better for for UNIX and Mac | compressed tar file |
| Zipped file, usually better for Windows | zip file |
| Description | Download link |
|---|---|
| Main class | TableDefinition.java |
| in DatawarehousingTools | MetadataConfiguration.java |
| Logging | LogFile.java |
| Holds in memory a list of Schema Elements representing the schemas in the chosen database | SchemaList.java |
| Prints a list of the tables in the chosen schema | TableList.java |
| Holds in memory a list of ColumnElements representing columns in a database table. | ColumnList.java |
| The object representing one column in the table, an element of ColumnList | ColumnElement.java |
| Converts obsolete or otherwise undesirable data-types into preferred types | CheckDataTypes.java |
| Holds in memory a list of Table Elements representing tables in a database | TableList.java |
| The object representing one table, an element of TableList | TableElement.java |
| In DatawarehousingTools | Configuration.java |
| In DatawarehousingTools | DatabaseLogin.java |
| Generates a SQL script to select the data from a table, and format it as a csv file | GenerateUnloadDataScript.java |
| Prints a list of columns in the table | PrintColumnsInTable.java |
| Prints a list of the schemas in the chosen database | PrintSchemasInDatabase.java |
| Prints a list of the tables in the chosen schema | PrintTablesInSchema.java |
| The object representing one schema in the database, an element of SchemaList | SchemaElement.java |
| Generates a SQL script to create the table | GenerateCreateScript.java |
| Holds in memory a list of databases visible on the chosen connection | DatabaseList.java |
| The character encoding used in the database. (This is recorded differently in different database brands.) | DatabaseEncoding.java |
| Connects to the database we want to describe | LoginData.java |
| Enforces a simple naming convention | StandardiseName.java |