basic
Class DeriveTable
java.lang.Object
basic.DeriveTable
class DeriveTable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oldTable
public SchemaObject oldTable
pkCols
SchemaObject[] pkCols
pkColSet
java.util.HashSet pkColSet
fdCols
SchemaObject[] fdCols
newTable
public SchemaObject newTable
newCols
public java.util.HashMap newCols
oldCols
public java.util.HashMap oldCols
table
Construct table
column
Construct column
primarykey
Construct primarykey
foreignkey
Construct foreignkey
DeriveTable
public DeriveTable(SchemaObject oldTable,
SchemaObject[] pkCols,
SchemaObject[] fdCols)
throws NotFoundException
- Throws:
NotFoundException
generateNewTable
public Schema generateNewTable(Schema baseSchema,
java.lang.String newTableName,
java.lang.String newPKName)
throws NotFoundException,
TypeMismatchException,
IntegrityException
- Throws:
NotFoundException
TypeMismatchException
IntegrityException