Package | Description |
---|---|
org.kepler.provenance.sql | |
org.kepler.util.sql |
Modifier and Type | Field and Description |
---|---|
protected Schema |
SQLRecording._schema
The schema containing table and column definitions.
|
Modifier and Type | Method and Description |
---|---|
protected Schema |
SQLRecordingV7._createSchema()
Create a Schema to reflect the v7 schema.
|
protected Schema |
SQLRecording._createSchema()
Create a Schema to reflect the v6 schema.
|
protected Schema |
SQLRecordingV8._createSchema()
Create a Schema to reflect the v8 schema.
|
static Schema |
Schemas.createSchemaV6()
Get the v6 provenance schema.
|
static Schema |
Schemas.createSchemaV7()
Get the v7 provenance schema.
|
static Schema |
Schemas.createSchemaV8()
Get the newest v8 provenance schema.
|
static Schema |
Schemas.createSchemaV8(int minorVersion)
Get the V8 provenance schema at a specific minor version.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Upgrade.askAndUpgrade(DatabaseType dbType,
Schema schema)
Ask the user if she wants to upgrade the provenance database, and
if the response is yes, upgrade the database.
|
static void |
Schemas.checkVersion(DatabaseType dbType,
Schema schema)
Verify the schema version in the database matches the version
of the schema parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseType.createTables(Schema schema)
Create tables in the database based on a Schema.
|
void |
DatabaseType.createTables(Schema schema,
boolean createVersion)
Create tables in the database based on a Schema.
|
boolean |
DatabaseType.hasNewerSchema(Schema schema)
Returns true of the database schema is newer than the schema definition.
|
boolean |
DatabaseType.hasOlderSchema(Schema schema)
Returns true if the database schema is older than the schema definition.
|