Package | Description |
---|---|
PrologDB |
Modifier and Type | Method and Description |
---|---|
SubTableSchema |
SubTableSchema.copy(DBSchema newSchema)
copy SubTableSchema by creating a new, pristine version that literally
replicates the data, but is specific to a new database schema.
|
SubTableSchema |
DBSchema.getSubTableSchema(java.lang.String tableName)
returns subtable object for given tableName, null if none exists
|
SubTableSchema |
DB.getSubTableSchema(TableSchema ts)
returns subtable declaration for a given table schema ts; if no such
declaration exists, null is returned; this declaration lists the
subtables of the given table.
|
SubTableSchema |
DBSchema.getSubTableSchema(TableSchema ts)
returns subtable object for given tableSchema ts, null if none exists
|
SubTableSchema |
DBSchema.getSubTableSchemaEH(java.lang.String tableName)
returns subtable object for given tableName; throws Error if no such
tableName exists
|
SubTableSchema |
DBSchema.getSubTableSchemaEH(TableSchema ts)
returns subtable object for given tableSchema ts; throws Error if no such
ts exists
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SubTableSchema> |
DB.getSubTableSchemas()
returns a list of subtable declarations for this database's schema.
|
java.util.List<SubTableSchema> |
DBSchema.getSubTableSchemas()
return list of SubTableSchemas of this database schema
|
Modifier and Type | Method and Description |
---|---|
void |
DBSchema.addSubTableSchema(SubTableSchema sts)
add subtable schema sts to 'this' database schema
|
void |
DBSchema.addSubTableSchemas(SubTableSchema... sts)
add subtableschema in bulk
|
boolean |
SubTableSchema.equals(SubTableSchema ts)
two SubTableSchema objects are equal iff they both reference the same
superTable, and this.subtables \subsetof ts.subtables, and vice versa
|
void |
SubTableSchema.equalsEH(SubTableSchema ts)
two SubTableSchema objects are equal iff they both reference the same
superTable, and this.subtables \subsetof ts.subtables, and vice versa if
unequal, Error is thrown with a reason
|