|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.rodex.qproc.MiniConQueryRewriter.MiniConDescription
protected class MiniConQueryRewriter.MiniConDescription
A private inner class to represent an MCD
| Constructor Summary | |
|---|---|
MiniConQueryRewriter.MiniConDescription(QueryAnalyser view)
|
|
| Method Summary | |
|---|---|
java.util.List |
add(MiniConQueryRewriter.MiniConDescription anotherMCD)
A method to add two MCD objects together. |
void |
addASubGoal(QuerySubGoal qsg)
Add a sub-goal to this MCD |
void |
addSubGoals(java.util.List subGoals)
Add sub-goals to the MCD |
java.util.List |
getConstantVariables()
Return a List of constants (if any) in the associated view |
java.util.List |
getFunctions()
Return the List of QueryFunction objects found.Returns null if no functions found |
java.util.List |
getHeadVars()
Return a List of head variables of the view query associatedto this MCD |
java.util.List |
getSubGoals()
Returns only the minimum set of sub-goals found when constructing the MCD |
ASG |
getView()
Return the original ASG object of the view |
java.lang.String |
getViewAsString()
Return the view rule to which this MCD is associated |
java.util.List |
getViewSubGoals()
Returns the complete set of sub-goals of the associated view |
boolean |
isDisjointWith(MiniConQueryRewriter.MiniConDescription anotherMCD)
Check if this MCD is disjoint from another MCD, i.e. |
java.lang.String |
toString()
Convert MCD's content to string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MiniConQueryRewriter.MiniConDescription(QueryAnalyser view)
| Method Detail |
|---|
public void addASubGoal(QuerySubGoal qsg)
qsg - a QuerySubGoal objectpublic void addSubGoals(java.util.List subGoals)
List - sub goals that form the MCDpublic java.util.List getSubGoals()
List a list of QuerySubGoal objectspublic java.util.List getViewSubGoals()
List a list of QuerySubGoal objectspublic boolean isDisjointWith(MiniConQueryRewriter.MiniConDescription anotherMCD)
anotherMCD - another MiniConQueryRewriter.MiniConDescription object
public java.util.List add(MiniConQueryRewriter.MiniConDescription anotherMCD)
anotherMCD - the second MiniConQueryRewriter.MiniConDescription object
List a combined list of sub-goals from the two MCDspublic java.lang.String getViewAsString()
public ASG getView()
public java.util.List getConstantVariables()
List of constants (if any) in the associated view
null if no constants are foundpublic java.util.List getHeadVars()
List of head variables of the view query associatedMCD
public java.util.List getFunctions()
List of QueryFunction objects found.null if no functions found
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||