final class TableKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private UUID |
schemaId |
private java.lang.String |
tableName |
Constructor and Description |
---|
TableKey(UUID schemaUUID,
java.lang.String tableName)
Constructor for when you have both the table and schema names.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object otherTableKey)
2 TableKeys are equal if their both their schemaIds and tableNames are
equal.
|
(package private) UUID |
getSchemaId()
Get the schema id.
|
(package private) java.lang.String |
getTableName()
Get the table name (without the schema name).
|
int |
hashCode() |
private final java.lang.String tableName
private final UUID schemaId
TableKey(UUID schemaUUID, java.lang.String tableName)
schemaUUID
- The UUID of the schema being referecnedtableName
- The name of the table being referencedjava.lang.String getTableName()
UUID getSchemaId()
public boolean equals(java.lang.Object otherTableKey)
equals
in class java.lang.Object
otherTableKey
- The other TableKey, as Object.public int hashCode()
hashCode
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.