public abstract class UpdatePrimitive extends java.lang.Object implements java.lang.Comparable<UpdatePrimitive>
| Modifier and Type | Field and Description |
|---|---|
Data |
data
Target data reference.
|
InputInfo |
input
Input info.
|
int |
pre
Target pre value.
|
PrimitiveType |
type
Primitive Type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply()
Applies this update primitive to the corresponding database.
|
int |
compareTo(UpdatePrimitive p) |
abstract void |
merge(UpdatePrimitive p)
Merges two update primitives, as they have the same target node.
|
abstract int |
size()
Returns the total number of node operations.
|
DBNode |
targetNode()
Creates a
DBNode instance from the target node information. |
void |
update(NamePool pool)
Updates the name pool, which is used to find duplicate attributes
and namespace conflicts.
|
public final PrimitiveType type
public final int pre
public final Data data
public final InputInfo input
public final DBNode targetNode()
DBNode instance from the target node information.public final int compareTo(UpdatePrimitive p)
compareTo in interface java.lang.Comparable<UpdatePrimitive>public abstract void merge(UpdatePrimitive p) throws QueryException
p - primitive to merge withQueryException - exceptionpublic abstract void apply()
throws QueryException
QueryException - exceptionpublic void update(NamePool pool)
pool - name poolpublic abstract int size()