private class BufferManager.StaticDefinitionKey
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
def
The Java class defining this table.
|
private int |
hash
The hash value is computed when the key is created.
|
private java.lang.String |
legacyName
The lowercased temp-table legacy name.
|
private java.lang.Object |
parentProcedure
The parent procedure where the temp-table was created.
|
| Constructor and Description |
|---|
StaticDefinitionKey(java.lang.String legacyName,
java.lang.Object parentProcedure,
java.lang.Class<?> def)
The contructors copies the parameters to internal data and computed the hash value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Checks whether the alien object is equals to this one.
|
int |
hashCode()
Obtain the hash code as it was computed in the constructor.
|
private final java.lang.String legacyName
private final java.lang.Object parentProcedure
private final java.lang.Class<?> def
private final int hash
public StaticDefinitionKey(java.lang.String legacyName,
java.lang.Object parentProcedure,
java.lang.Class<?> def)
legacyName - The lowercased temp-table legacy name.parentProcedure - The parent procedure where the temp-table was created.def - The Java class defining this buffer.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The alien object.true only if the two objects are the same (same temp-table created
within the same procedure).public int hashCode()
hashCode in class java.lang.Object