Class InsertAfter
java.lang.Object
org.basex.query.up.primitives.Update
org.basex.query.up.primitives.DataUpdate
org.basex.query.up.primitives.node.NodeUpdate
org.basex.query.up.primitives.node.InsertAfter
Insert after primitive.
- Author:
- BaseX Team 2005-21, BSD License, Lukas Kircher
-
Field Summary
Fields inherited from class org.basex.query.up.primitives.node.NodeUpdate
preFields inherited from class org.basex.query.up.primitives.DataUpdate
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the atomic update operations for this update primitive to the given list.voidMerges two update operations pointing to the same target.final voidprepare(MemData memData, QueryContext qc) Prepares this update primitive before execution.intsize()Returns the number of update operations.final StringtoString()voidUpdates the name pool, which is used to find duplicate attributes and namespace conflicts.Methods inherited from class org.basex.query.up.primitives.node.NodeUpdate
node, substituteMethods inherited from class org.basex.query.up.primitives.DataUpdate
data
-
Constructor Details
-
InsertAfter
Constructor.- Parameters:
pre- target pre valuedata- target data instanceii- input infonodes- node copy insertion sequence
-
-
Method Details
-
merge
Description copied from class:UpdateMerges two update operations pointing to the same target. -
addAtomics
Description copied from class:NodeUpdateAdds the atomic update operations for this update primitive to the given list.- Specified by:
addAtomicsin classNodeUpdate- Parameters:
auc- list of atomic updates
-
update
Description copied from class:NodeUpdateUpdates the name pool, which is used to find duplicate attributes and namespace conflicts.- Specified by:
updatein classNodeUpdate- Parameters:
pool- name pool
-
prepare
Description copied from class:NodeUpdatePrepares this update primitive before execution. This includes e.g. the preparation of insertion sequences.- Specified by:
preparein classNodeUpdate- Parameters:
memData- temporary data instanceqc- query context
-
size
public int size()Description copied from class:UpdateReturns the number of update operations. -
toString
-