|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.qproc.reformulate.InverseRulesAlgorithm
public class InverseRulesAlgorithm
Implements Inverse Rules algorithm for LAV and BAV query processing as described in the following paper:-
P.J. McBrien and A. Poulovassilis. P2P query reformulation over Both-as-View
data transformation rules. In Proc of DBISP2P 2006.
| Method Summary | |
|---|---|
static java.util.Map |
invertRule(java.util.Map viewMap,
int rangeSemantics)
Takes a viewMap created by AtomicViewMap class and inverts the rules based on the map contents. |
static java.util.Map |
invertRule(ViewKey targetScheme,
Cell rule,
int rangeSemantics)
Inverts a rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Map invertRule(java.util.Map viewMap,
int rangeSemantics)
throws BuildViewException
viewMap - A transformation map created by AtomicViewMap classrangeSemantics - RANGE_UPPER, RANGE_LOWER or RANGE_BOTH
BuildViewException
public static java.util.Map invertRule(ViewKey targetScheme,
Cell rule,
int rangeSemantics)
throws BuildViewException
Inverts a rule.
The definition of a construct c by a query of the form [h|Q] is inverted as follows:
targetSchemeInfo - SchemeInfo object for the target construct for which the
transformation is defined.rule - Transformation query specified for the sourceSchemerangeSemantics - RANGE_UPPER, RANGE_LOWER or RANGE_BOTH
BuildViewException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||