| Package | Description |
|---|---|
| org.basex.query.up | |
| org.basex.query.up.primitives |
| Modifier and Type | Method and Description |
|---|---|
void |
Updates.add(UpdatePrimitive up,
QueryContext ctx)
Adds an update primitive to the current context modifier.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DBAdd
Add primitive.
|
class |
DBDelete
Update primitive for the
Function._DB_DELETE function. |
class |
DBOptimize
Update primitive for the optimize function.
|
class |
DBRename
Update primitive for the
Function._DB_RENAME function. |
class |
DBStore
Update primitive for the
Function._DB_STORE function. |
class |
DeleteNode
Delete primitive.
|
class |
InsertAfter
Insert after primitive.
|
class |
InsertAttribute
Insert attribute primitive.
|
class |
InsertBefore
Insert before primitive.
|
class |
InsertInto
Insert into and insert into as last primitive.
|
class |
InsertIntoFirst
Insert into as first primitive.
|
class |
NodeCopy
Abstract update primitive which holds a copy of nodes to be inserted.
|
class |
Put
Update primitive for the fn:put() function.
|
class |
RenameNode
Rename node primitive.
|
class |
ReplaceElementContent
Replace element content primitive.
|
class |
ReplaceNode
Replace node primitive.
|
class |
ReplaceValue
Replace value primitive.
|
class |
StructuralUpdate
Base class for all update primitives that lead to structural changes /
pre value shifts on the database table.
|
| Modifier and Type | Method and Description |
|---|---|
int |
UpdatePrimitive.compareTo(UpdatePrimitive p) |
void |
DBStore.merge(UpdatePrimitive p) |
void |
DBAdd.merge(UpdatePrimitive u) |
void |
ReplaceValue.merge(UpdatePrimitive p) |
void |
DeleteNode.merge(UpdatePrimitive p) |
void |
Put.merge(UpdatePrimitive p) |
void |
DBRename.merge(UpdatePrimitive p) |
abstract void |
UpdatePrimitive.merge(UpdatePrimitive p)
Merges two update primitives, as they have the same target node.
|
void |
DBDelete.merge(UpdatePrimitive p) |
void |
ReplaceElementContent.merge(UpdatePrimitive p) |
void |
RenameNode.merge(UpdatePrimitive p) |
void |
ReplaceNode.merge(UpdatePrimitive p) |
void |
DBOptimize.merge(UpdatePrimitive p) |