private static class TempTableDataSourceProvider.PSKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
hashCode
Cached hash code
|
private int |
resultSetConcurrency
Statement result set concurrency
|
private int |
resultSetType
Statement result set type
|
private java.lang.String |
sql
SQL string, including placeholders
|
Modifier | Constructor and Description |
---|---|
private |
PSKey(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private int |
computeHash()
Compute and return a well distributed hash code.
|
boolean |
equals(java.lang.Object o)
Test this object for equality (equivalence) with the given object.
|
int |
hashCode()
Return a hash code for this object.
|
private final java.lang.String sql
private final int resultSetType
private final int resultSetConcurrency
private final int hashCode
private PSKey(java.lang.String sql, int resultSetType, int resultSetConcurrency)
sql
- SQL string, including placeholdersresultSetType
- Statement result set typeresultSetConcurrency
- Statement result set concurrencyprivate int computeHash()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to test.true
if this object is the same instance as the given object, or if it is
considered equivalent to the given object, else false
.