public class QueryKey extends Object
Key type for caching JDBC queries.
Modifier and Type | Class and Description |
---|---|
static class |
QueryKey.Type |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getQueryId() |
QueryKey.Type |
getQueryType() |
int |
hashCode() |
static QueryKey |
item(long id) |
static QueryKey |
itemList() |
static QueryKey |
user(long id) |
static QueryKey |
userList() |
public QueryKey.Type getQueryType()
public long getQueryId()
public static QueryKey user(long id)
public static QueryKey item(long id)
public static QueryKey itemList()
public static QueryKey userList()