TableSynonym

Synonym for an existing table or view. All DML requests are forwarded to the backing table. Adding indices to a synonym or altering the table is not supported.

Methods
void checkRename()
void checkRename()
String getCreateSQL()
String getCreateSQL()
String getCreateSQLForCopy(Table table, String quotedName)
String getCreateSQLForCopy(Table table, String quotedName)
String getDropSQL()
String getDropSQL()
Table getSynonymFor()
Table getSynonymFor()
Returns:
the table this is a synonym for
String getSynonymForName()
String getSynonymForName()
Returns:
the table this synonym is for
Schema getSynonymForSchema()
Schema getSynonymForSchema()
Returns:
the schema this synonym is for
int getType()
int getType()
boolean isInvalid()
boolean isInvalid()
Returns:
true if this synonym currently points to a real table
void removeChildrenAndResources(Session session)
void removeChildrenAndResources(Session session)
void rename(String newName)
void rename(String newName)
void updateData(CreateSynonymData data)
Set (update) the data.
void updateData(CreateSynonymData data)
Set (update) the data.
Parameters:
data - the new data
void updateSynonymFor()
Update the table that this is a synonym for, to know about this synonym.
void updateSynonymFor()
Update the table that this is a synonym for, to know about this synonym.