Class TableKey
java.lang.Object
org.apache.derby.impl.sql.catalog.TableKey
A TableKey represents a immutable unique identifier for a SQL object.
It has a schemaid and a name .
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tableName
-
schemaId
-
-
Constructor Details
-
TableKey
Constructor for when you have both the table and schema names.- Parameters:
schemaUUID
- The UUID of the schema being referecnedtableName
- The name of the table being referenced
-
-
Method Details
-
getTableName
String getTableName()Get the table name (without the schema name).- Returns:
- Table name as a String
-
getSchemaId
UUID getSchemaId()Get the schema id.- Returns:
- Schema id as a String
-
equals
2 TableKeys are equal if their both their schemaIds and tableNames are equal. -
hashCode
public int hashCode()
-