uk.ac.bbk.dcs.automed.qproc
Class WrapperQueryProcessor

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.QueryProcessor
      extended by uk.ac.bbk.dcs.automed.qproc.WrapperQueryProcessor

public class WrapperQueryProcessor
extends QueryProcessor

Processor to be used within wrappers

Author:
Lucas Zamboulis, Sandeep Mittal

Field Summary
protected  java.util.logging.Logger _logger
           
 
Fields inherited from class uk.ac.bbk.dcs.automed.qproc.QueryProcessor
_annQ, _jAnnQ, _optQ, _orgQ, _qbTransl, _refQ, _vunQ, annotationTime, evaluationTime, evaluationWrappersTime, METRIC_ANNOTATION_TIME, METRIC_EVALUATION_TIME, METRIC_EVALUATION_WRAPPERS_TIME, METRIC_OPTIMISATION_TIME, METRIC_POSTQUERYING_TIME, METRIC_PREQUERYING_TIME, METRIC_REFORMULATION_TIME, METRIC_TOTAL_PROCESSING_TIME, METRIC_TRANSLATION_TIME, METRIC_UNIFICATION_TIME, optimisationTime, postqueryingTime, prequeryingTime, QUERY_AFTER_ANNOTATION, QUERY_AFTER_JOIN_ANNOTATION, QUERY_AFTER_OPTIMISATION, QUERY_AFTER_REFORMULATION, QUERY_AFTER_VARIABLE_UNIFICATION, QUERY_BEFORE_PROCESSING, reformulationTime, totalProcessingTime, translationTime, unificationTime
 
Constructor Summary
WrapperQueryProcessor()
          Create an instance of the Query Processor.
 
Method Summary
protected  void logInputParameters(Schema source, Schema[] targets, java.lang.String integrationSemantics, QueryProcessorConfiguration qpc)
           
 void logPerformance(QueryProcessorConfiguration qpc)
           
 void process(ASG g, Schema s, QueryProcessorConfiguration qpc)
           
 
Methods inherited from class uk.ac.bbk.dcs.automed.qproc.QueryProcessor
annotate, evaluate, evaluateIncrementally, getConfiguration, getDataSourceTargets, getMetric, getQuery, loggingInit, optimise, postQuerying, prepareIQLQuery, preQuerying, process, process, process, process, processIncrementally, processIncrementally, processIncrementally, processPreparedIQLQuery, reformulate, unify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

protected java.util.logging.Logger _logger
Constructor Detail

WrapperQueryProcessor

public WrapperQueryProcessor()
Create an instance of the Query Processor. More than one instance can be created without possibility of inteference with any other instance of the query processor.

Method Detail

process

public void process(ASG g,
                    Schema s,
                    QueryProcessorConfiguration qpc)
             throws QProcException
Parameters:
g - The input query passed as an ASG.
s - the schema of the wrapper - i.e. the datasource-oriented version
qpc - QueryProcessorConfiguration providing the environment settings for the query processing.
Throws:
QProcException

logInputParameters

protected void logInputParameters(Schema source,
                                  Schema[] targets,
                                  java.lang.String integrationSemantics,
                                  QueryProcessorConfiguration qpc)
                           throws QProcException
Overrides:
logInputParameters in class QueryProcessor
Throws:
QProcException

logPerformance

public void logPerformance(QueryProcessorConfiguration qpc)
Overrides:
logPerformance in class QueryProcessor