|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.amber.query.CachedQueryKey
public class CachedQueryKey
A key for cached query results.
Constructor Summary | |
---|---|
CachedQueryKey()
|
|
CachedQueryKey(java.lang.String sql,
java.lang.Object[] parameters,
int count)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if the key matches. |
java.lang.String |
getSQL()
Returns the SQL |
int |
hashCode()
Returns the hash-code for the key. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedQueryKey()
public CachedQueryKey(java.lang.String sql, java.lang.Object[] parameters, int count)
Method Detail |
---|
public java.lang.String getSQL()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |