|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.up.primitives.Operation
org.basex.query.up.primitives.UpdatePrimitive
public abstract class UpdatePrimitive
Base class for all update primitives.
Field Summary | |
---|---|
int |
targetPre
Target node pre value. |
PrimitiveType |
type
Primitive Type. |
Fields inherited from class org.basex.query.up.primitives.Operation |
---|
data, info |
Method Summary | |
---|---|
abstract void |
addAtomics(AtomicUpdateList l)
Adds the atomic update operations for this update primitive to the given list. |
Data |
getData()
Returns the target data reference. |
InputInfo |
getInfo()
Input info. |
DBNode |
getTargetNode()
Creates a DBNode instance from the target node information. |
abstract void |
merge(UpdatePrimitive p)
Merges two update primitives, as they have the same target node. |
abstract UpdatePrimitive[] |
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. |
Methods inherited from class org.basex.query.up.primitives.Operation |
---|
size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int targetPre
public final PrimitiveType type
Method Detail |
---|
public final DBNode getTargetNode()
DBNode
instance from the target node information.
getTargetNode
in class Operation
public Data getData()
Operation
getData
in class Operation
public InputInfo getInfo()
Operation
getInfo
in class Operation
public abstract void merge(UpdatePrimitive p) throws QueryException
p
- primitive to merge with
QueryException
- exceptionpublic abstract void update(NamePool pool)
pool
- name poolpublic abstract void addAtomics(AtomicUpdateList l)
l
- list of atomic updatespublic abstract UpdatePrimitive[] substitute(MemData tmp)
tmp
- temporary mem data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |