|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedWrapper
uk.ac.ic.doc.automed.wrappers.QueryCacheWrapper
public class QueryCacheWrapper
A high-level, object-type wrapper for a DefaultQueryCache.
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, protocol, s, url, username |
| Constructor Summary | |
|---|---|
QueryCacheWrapper()
|
|
QueryCacheWrapper(AccessMethod am,
java.lang.String password)
This method only exists to conform with the AutoMedWrapper |
|
| Method Summary | |
|---|---|
protected void |
connect()
Empty method to comply with AutoMedWrapper |
ASG |
executeIQL(ASG q)
Execute a query against the cache |
IQueryCache |
getCacheSource()
Return the reference to the IQueryCache
instance |
protected AutoMedWrapperFactory |
getDefaultWrapperFactory()
Return an instance of QueryCacheWrapperFactory associated
to this wrapper |
java.lang.String |
getProtocolName()
The name of the Protocol for this wrapper |
void |
getSODefinition(QuerySubGoal qsg)
This method is empty |
void |
setCacheSource(IQueryCache cache)
Passes a reference to the IQueryCache
instance |
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
atDebugLevel, cacheWrapper, deleteIQL, executeIQL, executeLocalQuery, getAccessMethod, getAutoMedWrapper, getAutoMedWrapper, getAutoMedWrapperFactory, getDrivers, getOption, getOptionKeyProtection, getOptionKeys, getProtocol, getQueryCache, getQueryCache, getQueryParser, getSchema, getSchema, getSODefinition, insertIQL, newAutoMedSchema, newAutoMedWrapper, newAutoMedWrapper, newAutoMedWrapper, registerWrapper, selectNewAutoMedWrapper, selectNewAutoMedWrapper, setDebugLevel, setOption, updateCache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryCacheWrapper()
public QueryCacheWrapper(AccessMethod am,
java.lang.String password)
throws DataSourceException
AutoMedWrapper
DataSourceException| Method Detail |
|---|
public void setCacheSource(IQueryCache cache)
IQueryCache
instance
public IQueryCache getCacheSource()
IQueryCache
instance
public java.lang.String getProtocolName()
Protocol for this wrapper
getProtocolName in class AutoMedWrapper
public ASG executeIQL(ASG q)
throws DataSourceException,
NotFoundException
executeIQL in class AutoMedWrapperq - An IQL query held in an ASG which complies with
the limitations of what this wrapper is able to process
ASG containing the results of the query
DataSourceException
NotFoundException
protected void connect()
throws DataSourceException
AutoMedWrapper
connect in class AutoMedWrapperDataSourceException - if unable to connect to the data source
public void getSODefinition(QuerySubGoal qsg)
throws DataSourceException
getSODefinition in class AutoMedWrapperDataSourceExceptionprotected AutoMedWrapperFactory getDefaultWrapperFactory()
QueryCacheWrapperFactory associated
to this wrapper
getDefaultWrapperFactory in class AutoMedWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||