|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.bbk.dcs.automed.qproc.QueryProcessor
uk.ac.ic.doc.automed.p2p.qproc.SMRQueryProcessor
public class SMRQueryProcessor
A customised query processor for the SMR overlay network
Field Summary | |
---|---|
protected java.util.logging.Logger |
_logger
|
protected long |
afterEv
|
protected long |
afterLO
|
protected long |
afterQAFP
|
protected long |
afterQR
|
protected long |
afterSubmit
|
protected long |
afterTranslation
|
protected long |
afterVU
|
protected long |
beforeTranslation
|
private static java.util.List |
idLog
a list of id log |
private static long |
QPROC_MIN_TIME
min processing time in millsecs |
Constructor Summary | |
---|---|
SMRQueryProcessor()
Create an instance of the Query Processor. |
Method Summary | |
---|---|
protected java.util.List |
concurrentEvaluation(ASG g,
QueryProcessorConfiguration qpc)
Evaluate sub-queries concurrently |
protected void |
evaluate(ASG g,
QueryProcessorConfiguration qpc)
Override the evaluator() method of the standard QueryProcessor
class. |
private void |
evaluateSubqueries(java.util.List wrappers,
QueryProcessorConfiguration qpc)
|
static java.lang.String |
getDefaultReformulatorAlgorithmName()
|
static java.lang.Object[] |
getSMRReformulatorAlgorithmNames()
|
private void |
identifySubqueries(java.lang.String rootQueryID,
Cell c,
java.util.List wrappers,
QueryProcessorConfiguration qpc)
|
static void |
insertIDLog(java.lang.String id)
|
Methods inherited from class uk.ac.bbk.dcs.automed.qproc.QueryProcessor |
---|
annotate, evaluateIncrementally, getConfiguration, getDataSourceTargets, getMetric, getQuery, loggingInit, logInputParameters, logPerformance, 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 |
---|
protected java.util.logging.Logger _logger
private static final long QPROC_MIN_TIME
protected long afterSubmit
protected long afterQR
protected long afterVU
protected long afterLO
protected long afterQAFP
protected long afterEv
protected long beforeTranslation
protected long afterTranslation
private static java.util.List idLog
Constructor Detail |
---|
public SMRQueryProcessor()
Method Detail |
---|
public static java.lang.Object[] getSMRReformulatorAlgorithmNames()
public static java.lang.String getDefaultReformulatorAlgorithmName()
public static void insertIDLog(java.lang.String id)
protected void evaluate(ASG g, QueryProcessorConfiguration qpc) throws QProcException
QueryProcessor
class. In this method, we basically 'merge' the ASG lists of each sub-query
result into an ASG (Bag-type). Conventional query processing operators
(e.g. join etc.) do not apply here.
evaluate
in class QueryProcessor
g
- qpc
-
QProcException
protected java.util.List concurrentEvaluation(ASG g, QueryProcessorConfiguration qpc) throws QueryEvaluationException
QueryEvaluationException
private void evaluateSubqueries(java.util.List wrappers, QueryProcessorConfiguration qpc) throws QueryEvaluationException
QueryEvaluationException
private void identifySubqueries(java.lang.String rootQueryID, Cell c, java.util.List wrappers, QueryProcessorConfiguration qpc) throws ProviderInitialisationException
ProviderInitialisationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |