public class Schemas extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkVersion(DatabaseType dbType,
Schema schema)
Verify the schema version in the database matches the version
of the schema parameter.
|
static Schema |
createSchemaV6()
Get the v6 provenance schema.
|
static Schema |
createSchemaV7()
Get the v7 provenance schema.
|
static Schema |
createSchemaV8()
Get the newest v8 provenance schema.
|
static Schema |
createSchemaV8(int minorVersion)
Get the V8 provenance schema at a specific minor version.
|
public static Schema createSchemaV6()
public static Schema createSchemaV7()
public static Schema createSchemaV8()
public static Schema createSchemaV8(int minorVersion)
minorVersion
- the minor version of V8 to return. If -1,
return the latest V8.public static void checkVersion(DatabaseType dbType, Schema schema) throws java.sql.SQLException
java.sql.SQLException