|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableSpecification
Models what ANSI SQL terms a table specification which is a table or a view or an inline view.
Method Summary | |
---|---|
void |
addCheckConstraint(String checkCondition)
|
void |
addComment(String comment)
|
ForeignKey |
createForeignKey(TableSpecification targetTable,
String name)
|
Tuple |
createTuple(String name)
Factory method for creating a Column associated with this container. |
Iterable<CheckConstraint> |
getCheckConstraints()
|
Iterable<String> |
getComments()
|
Iterable<ForeignKey> |
getForeignKeys()
|
Iterable<Index> |
getIndexes()
|
Index |
getOrCreateIndex(String name)
|
UniqueKey |
getOrCreateUniqueKey(String name)
|
PrimaryKey |
getPrimaryKey()
Get the primary key definition for this table spec. |
String |
getQualifiedName(Dialect dialect)
|
Schema |
getSchema()
Obtain a reference to the schema to which this table specification belongs. |
int |
getTableNumber()
Get the table number. |
Iterable<UniqueKey> |
getUniqueKeys()
|
Column |
locateOrCreateColumn(String name)
Factory method for creating a Column associated with this container. |
DerivedValue |
locateOrCreateDerivedValue(String fragment)
Factory method for creating a DerivedValue associated with this container. |
Methods inherited from interface org.hibernate.metamodel.relational.ValueContainer |
---|
getLoggableValueQualifier, values |
Methods inherited from interface org.hibernate.metamodel.relational.Loggable |
---|
toLoggableString |
Method Detail |
---|
Schema getSchema()
int getTableNumber()
PrimaryKey getPrimaryKey()
Column locateOrCreateColumn(String name)
Column
associated with this container.
name
- The column name
Tuple createTuple(String name)
Column
associated with this container.
name
- The column name
DerivedValue locateOrCreateDerivedValue(String fragment)
DerivedValue
associated with this container.
fragment
- The value expression
Iterable<ForeignKey> getForeignKeys()
ForeignKey createForeignKey(TableSpecification targetTable, String name)
Iterable<Index> getIndexes()
Index getOrCreateIndex(String name)
Iterable<UniqueKey> getUniqueKeys()
UniqueKey getOrCreateUniqueKey(String name)
Iterable<CheckConstraint> getCheckConstraints()
void addCheckConstraint(String checkCondition)
Iterable<String> getComments()
void addComment(String comment)
String getQualifiedName(Dialect dialect)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |