public interface TableSpecification extends ValueContainer, Loggable
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckConstraint(java.lang.String checkCondition) |
void |
addComment(java.lang.String comment) |
ForeignKey |
createForeignKey(TableSpecification targetTable,
java.lang.String name) |
Tuple |
createTuple(java.lang.String name)
Factory method for creating a
Column associated with this container. |
java.lang.Iterable<CheckConstraint> |
getCheckConstraints() |
java.lang.Iterable<java.lang.String> |
getComments() |
java.lang.Iterable<ForeignKey> |
getForeignKeys() |
java.lang.Iterable<Index> |
getIndexes() |
Index |
getOrCreateIndex(java.lang.String name) |
UniqueKey |
getOrCreateUniqueKey(java.lang.String name) |
PrimaryKey |
getPrimaryKey()
Get the primary key definition for this table spec.
|
java.lang.String |
getQualifiedName(Dialect dialect) |
Schema |
getSchema()
Obtain a reference to the schema to which this table specification belongs.
|
int |
getTableNumber()
Get the table number.
|
java.lang.Iterable<UniqueKey> |
getUniqueKeys() |
Column |
locateOrCreateColumn(java.lang.String name)
Factory method for creating a
Column associated with this container. |
DerivedValue |
locateOrCreateDerivedValue(java.lang.String fragment)
Factory method for creating a
DerivedValue associated with this container. |
getLoggableValueQualifier, valuestoLoggableStringSchema getSchema()
int getTableNumber()
PrimaryKey getPrimaryKey()
Column locateOrCreateColumn(java.lang.String name)
Column associated with this container.name - The column nameTuple createTuple(java.lang.String name)
Column associated with this container.name - The column nameDerivedValue locateOrCreateDerivedValue(java.lang.String fragment)
DerivedValue associated with this container.fragment - The value expressionjava.lang.Iterable<ForeignKey> getForeignKeys()
ForeignKey createForeignKey(TableSpecification targetTable, java.lang.String name)
java.lang.Iterable<Index> getIndexes()
Index getOrCreateIndex(java.lang.String name)
java.lang.Iterable<UniqueKey> getUniqueKeys()
UniqueKey getOrCreateUniqueKey(java.lang.String name)
java.lang.Iterable<CheckConstraint> getCheckConstraints()
void addCheckConstraint(java.lang.String checkCondition)
java.lang.Iterable<java.lang.String> getComments()
void addComment(java.lang.String comment)
java.lang.String getQualifiedName(Dialect dialect)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.