|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.sqlgeneration.QueryResult
A QueryResult is returned after an operator is evaluated Each result has 3 parameters, 1. Was the operator evaluated 2. Should the incremental statement be committed to the tree 3. The Query Fragment of the evaluated operator
Constructor Summary | |
QueryResult()
Default constuctor |
|
QueryResult(boolean eval,
QueryFragment newFragment)
Constuctor that sets evaluated and the fragment |
Method Summary | |
void |
addFragment(QueryFragment newFragment)
add a fragment to the result |
QueryFragment[] |
getFragment()
returns the fragments |
boolean |
iscommitQuery()
Returns if the incremental statement should be committed |
boolean |
isEvaluated()
returns if the operator was evaluated |
void |
setcommitQuery(boolean newcommitQuery)
Set whether the statement should be committed |
void |
setEvaluated(boolean newEvaluated)
Set whether the operator was evaluated |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public QueryResult()
public QueryResult(boolean eval, QueryFragment newFragment)
Method Detail |
public void addFragment(QueryFragment newFragment)
newFragment
- edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite.QueryFragmentpublic boolean isEvaluated()
public void setEvaluated(boolean newEvaluated)
newEvaluated
- booleanpublic QueryFragment[] getFragment()
public boolean iscommitQuery()
public void setcommitQuery(boolean newcommitQuery)
newcommitQuery
- boolean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |