|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.up.Updates
public final class Updates
Holds all update operations and primitives a snapshot contains, checks constraints and finally executes the updates.
| Constructor Summary | |
|---|---|
Updates(boolean transform)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(UpdatePrimitive p,
QueryContext ctx)
Adds an update primitive to the corresponding primitive list. |
void |
addDataReference(Data d)
Adds a data reference to the reference list. |
void |
apply()
Checks constraints and applies all update primitives to the databases if no constraints are hurt. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Updates(boolean transform)
transform - update operations are triggered by a transform expression| Method Detail |
|---|
public void addDataReference(Data d)
d - data reference to add
public void add(UpdatePrimitive p,
QueryContext ctx)
throws QueryException
p - primitive to addctx - query context
QueryException - query exception
public void apply()
throws QueryException
QueryException - query exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||