public final class BackupDrop extends NameUpdate
Function._DB_DROP_BACKUP
function.Constructor and Description |
---|
BackupDrop(String name,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply()
Applies this operation.
|
void |
merge(Update update)
Merges two update operations pointing to the same target.
|
protected String |
operation()
Returns an info string.
|
void |
prepare()
Prepares this operation.
|
compareTo, databases, name, size
public BackupDrop(String name, QueryContext qc, InputInfo info)
name
- name of backup file to be droppedqc
- query contextinfo
- input infopublic void prepare()
NameUpdate
prepare
in class NameUpdate
public void apply() throws QueryException
NameUpdate
apply
in class NameUpdate
QueryException
- exceptionpublic void merge(Update update) throws QueryException
Update
merge
in class NameUpdate
update
- operation to merge withQueryException
- exceptionprotected String operation()
NameUpdate
operation
in class NameUpdate
Copyright © 2005–2023 BaseX Team. All rights reserved.