public class QueryDescription extends BaseDescription
BaseDescription.LocalCacheClass
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected String |
cacheClassName |
protected String |
criticalSectionName |
protected String |
databaseName |
protected StringSet |
keys |
protected int |
maxReturn |
protected List |
parameters |
protected String |
query |
protected ILimitChecker |
returnLimit |
protected ResultSpecification |
spec |
cacheClass, max_value
Constructor and Description |
---|
QueryDescription(String databaseName,
String query,
List parameters,
String cacheClassName,
StringSet cacheKeys,
int maxReturn,
ResultSpecification spec,
ILimitChecker returnLimit) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCriticalSectionName()
Get the critical section name for this description object.
|
int |
getMaxReturn() |
StringSet |
getObjectKeys()
Get the cache keys for an object (which may or may not exist yet in
the cache).
|
List |
getParameters() |
String |
getQuery() |
ResultSpecification |
getResultSpecification() |
ILimitChecker |
getReturnLimit() |
int |
hashCode() |
protected static List |
listClone(List list) |
getObjectClass, getObjectExpirationTime
public static final String _rcsid
protected String databaseName
protected String query
protected List parameters
protected String criticalSectionName
protected String cacheClassName
protected StringSet keys
protected int maxReturn
protected ResultSpecification spec
protected ILimitChecker returnLimit
public QueryDescription(String databaseName, String query, List parameters, String cacheClassName, StringSet cacheKeys, int maxReturn, ResultSpecification spec, ILimitChecker returnLimit)
public String getQuery()
public List getParameters()
public int getMaxReturn()
public ResultSpecification getResultSpecification()
public ILimitChecker getReturnLimit()
public StringSet getObjectKeys()
public String getCriticalSectionName()
ICacheDescription