public class SqlTableSchema extends BasicSchema implements RelationalSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlTableSchema.SqlSchemaAttr |
columns, columnTypes, fks, keys, name, primaryKey| Constructor and Description |
|---|
SqlTableSchema(SqlTableSchema other) |
SqlTableSchema(java.lang.String name) |
SqlTableSchema(java.lang.String name,
RelationalSchema relationalSchema)
copy the schemas columns and attributes into a new schema
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<SchemaAttr,java.lang.String> |
getDefaultAttrs() |
java.util.Set<java.lang.String> |
getPrimaryKeyColumns()
returns primary keys associated with the schema
|
addAttr, addColumn, addColumn, addDefaultColumn, addEventListener, addEventListenerWithPriority, addForeignKey, addForeignKey, addIndex, containsAllColumns, containsColumn, convertToDataObject, convertToDataObject, equals, fireEvent, getAttr, getAttrs, getAutoGeneratedColumns, getColumns, getDefaultValues, getEventListeners, getForeignKeys, getForeignKeys, getForeignTables, getKeys, getName, getObjectType, getParser, getPrimaryKey, getUniqueIndexes, hashCode, removeEventListener, removeParser, setDateFormat, setDateFormat, setObjectType, setParser, setPrimaryKey, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAttr, addColumn, addColumn, addEventListener, addEventListenerWithPriority, addForeignKey, addIndex, containsAllColumns, containsColumn, convertToDataObject, fireEvent, getAttr, getAttrs, getAutoGeneratedColumns, getColumns, getDefaultValues, getEventListeners, getForeignKeys, getForeignKeys, getName, getObjectType, getPrimaryKey, getUniqueIndexes, removeEventListener, setDateFormat, setDateFormat, setObjectType, setParser, setPrimaryKeypublic SqlTableSchema(java.lang.String name,
@NotNull
RelationalSchema relationalSchema)
name - The name of the schemarelationalSchema - The schemapublic SqlTableSchema(@NotNull SqlTableSchema other)
public SqlTableSchema(java.lang.String name)
public java.util.Map<SchemaAttr,java.lang.String> getDefaultAttrs()
getDefaultAttrs in class BasicSchema@NotNull public java.util.Set<java.lang.String> getPrimaryKeyColumns()