Class BackupAlter
java.lang.Object
org.basex.query.up.primitives.Update
org.basex.query.up.primitives.name.NameUpdate
org.basex.query.up.primitives.name.BackupAlter
- All Implemented Interfaces:
Comparable<NameUpdate>
Update primitive for the
Function._DB_ALTER_BACKUP function.- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBackupAlter(String name, String newName, QueryContext qc, InputInfo info) Constructor. -
Method Summary
Methods inherited from class org.basex.query.up.primitives.name.NameUpdate
compareTo, databases, name, size
-
Constructor Details
-
BackupAlter
Constructor.- Parameters:
name- backup to be renamednewName- name of new backupqc- query contextinfo- input info
-
-
Method Details
-
prepare
public void prepare()Description copied from class:NameUpdatePrepares this operation.- Specified by:
preparein classNameUpdate
-
apply
Description copied from class:NameUpdateApplies this operation.- Specified by:
applyin classNameUpdate- Throws:
QueryException- exception
-
merge
Description copied from class:UpdateMerges two update operations pointing to the same target.- Overrides:
mergein classNameUpdate- Parameters:
update- operation to merge with- Throws:
QueryException- exception
-
operation
Description copied from class:NameUpdateReturns an info string.- Specified by:
operationin classNameUpdate- Returns:
- info string
-