Class InsertIntoAsFirst
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.InsertIntoAsFirst
Insert into as first 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
ConstructorsConstructorDescriptionInsertIntoAsFirst(int pre, Data data, InputInfo ii, ANodeList nodes) Constructor. -
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
-
InsertIntoAsFirst
Constructor.- Parameters:
pre- target node pre valuedata- target data referenceii- input infonodes- insertion sequence node list
-
-
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
-