Package org.basex.query.up.primitives
Class Update
java.lang.Object
org.basex.query.up.primitives.Update
- Direct Known Subclasses:
DataUpdate,NameUpdate,UserUpdate
Abstract class for an update operations.
- Author:
- BaseX Team 2005-21, BSD License, Lukas Kircher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final InputInfoInput info.final UpdateTypeType of update primitive. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
Type of update primitive. -
info
Input info.
-
-
Constructor Details
-
Update
Constructor.- Parameters:
type- update primitiveinfo- input info
-
-
Method Details
-
merge
Merges two update operations pointing to the same target.- Parameters:
update- operation to merge with- Throws:
QueryException- exception
-
size
public abstract int size()Returns the number of update operations.- Returns:
- number of updates
-
info
Input info.- Returns:
- input info
-