public abstract class NodeUpdate extends DataUpdate
Modifier and Type | Field and Description |
---|---|
int |
pre
Pre value of target node.
|
data
Modifier and Type | Method and Description |
---|---|
abstract void |
addAtomics(AtomicUpdateCache auc)
Adds the atomic update operations for this update primitive to the given list.
|
abstract void |
merge(Update update)
Merges two update primitives, as they have the same target node.
|
DBNode |
node()
Creates a
DBNode instance from the target node information. |
abstract void |
prepare(MemData tmp)
Prepares this update primitive before execution.
|
NodeUpdate[] |
substitute(MemData tmp)
Substitutes the update primitive if necessary.
|
abstract void |
update(NamePool pool)
Updates the name pool, which is used to find duplicate attributes
and namespace conflicts.
|
data
public final DBNode node()
DBNode
instance from the target node information.public abstract void prepare(MemData tmp) throws QueryException
tmp
- temporary databaseQueryException
- query exceptionpublic abstract void merge(Update update) throws QueryException
merge
in class Update
update
- primitive to merge withQueryException
- exceptionpublic abstract void update(NamePool pool)
pool
- name poolpublic abstract void addAtomics(AtomicUpdateCache auc)
auc
- list of atomic updatespublic NodeUpdate[] substitute(MemData tmp)
tmp
- temporary mem dataCopyright © 2005–2015 BaseX Team. All rights reserved.