uk.ac.ic.doc.automed.qproc.refo
Class VirtualReformulationProvider
java.lang.Object
uk.ac.bbk.dcs.automed.qproc.reformulate.GAVQueryReformulationProvider
uk.ac.ic.doc.automed.qproc.refo.VirtualReformulationProvider
public class VirtualReformulationProvider
- extends GAVQueryReformulationProvider
A 'specialised' reformulation provider for the specialised
virtual schema. Basically, since we are querying an SMR overlay
network for objects matching a given query we do not know
in advance what the objects are. So, this reformulation class
must accept the fact that the query's schemes do not exist
in the schema.
- Author:
- Duc Minh Le
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_qpc
private QueryProcessorConfiguration _qpc
VirtualReformulationProvider
protected VirtualReformulationProvider()
VirtualReformulationProvider
public VirtualReformulationProvider(Schema sourceSchema,
Schema[] targetSchemata,
QueryProcessorConfiguration qpc)
throws QueryReformulationException
- Parameters:
sourceschema
- the source schematargetschemata
- the target schemataqpc
- the input configuration
- Throws:
QueryReformulationException
- if there was a problem building the view definitions of the source schema constructs over target schema
constructs
reformulate
public void reformulate(ASG g,
QueryProcessorConfiguration qpc)
throws QueryReformulationException
- Simply tags the schemes with the schema prefix.
- Overrides:
reformulate
in class GAVQueryReformulationProvider
- Throws:
QueryReformulationException
tempFun
private void tempFun(Cell c)