|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory
uk.ac.ic.doc.automed.wrappers.SQLWrapperFactory
uk.ac.ic.doc.automed.wrappers.QueryCacheWrapperFactory
public class QueryCacheWrapperFactory
A high-level wrapper factory for creating QueryCacheWrapper
instances.
We consider a query cache as an SQL data source.
Field Summary |
---|
Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
---|
automedModelName, baseName, empty, factoryInUse, modelName, SOURCE_PREFIX |
Constructor Summary | |
---|---|
QueryCacheWrapperFactory()
|
Method Summary | |
---|---|
Schema |
createAutoMedSchema(AutoMedWrapper wrapper,
java.lang.String schemaName)
Create a new AutoMed-oriented schema for the cache by summarising the BAV rules of all distinct schema objects used in the materialised views |
protected AutoMedWrapper |
newAutoMedWrapper()
Return a new instance of the QueryCacheWrapper |
protected void |
populateSchema(AutoMedWrapper wrapper)
Nothing done here |
Methods inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapperFactory |
---|
createAutoMedModel, createModel, getAutoMedModel, getColumnDetailsSchemeLength, getDefaultSchemaName, getFeatureNames, getModel, getSQLTableReference, getTableDetailsSchemeLength, setFeatures |
Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory |
---|
clearFeatures, getAttributeDomains, getAutoMedModelName, getFeatures, getModelBaseName, getModelName, isFeatureInUse, safeIQL, setAttributeDomains, setFeatures, setModelBaseName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryCacheWrapperFactory()
Method Detail |
---|
protected void populateSchema(AutoMedWrapper wrapper) throws DataSourceException
populateSchema
in class SQLWrapperFactory
DataSourceException
public Schema createAutoMedSchema(AutoMedWrapper wrapper, java.lang.String schemaName) throws IntegrityException, NotFoundException
createAutoMedSchema
in class SQLWrapperFactory
wrapper
- A wrapper containing the source oriented Schema
from which the AutoMed oriented Schema should be
produced.schemaName
- name of the new AutoMed construct oriented schema
that is to be created from the source oriented schema. This schema must
not yet exist.
IntegrityException
- if schemaName already exists.
NotFoundException
- if you have not previously wrapped the
datasource as a source oriented schema, using either #AutoMedWrapper.getSchema(String)
or #AutoMedWrapper.selectNewAutoMedWrapper
protected AutoMedWrapper newAutoMedWrapper()
QueryCacheWrapper
newAutoMedWrapper
in class SQLWrapperFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |