public final class BackupDrop extends NameUpdate
Function._DB_DROP_BACKUP
function.Constructor and Description |
---|
BackupDrop(String name,
InputInfo info,
QueryContext qc)
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, InputInfo info, QueryContext qc)
name
- name of backup file to be droppedinfo
- input infoqc
- query contextpublic void merge(Update update) throws QueryException
Update
merge
in class NameUpdate
update
- operation to merge withQueryException
- exceptionpublic void apply() throws QueryException
NameUpdate
apply
in class NameUpdate
QueryException
- exceptionpublic void prepare()
NameUpdate
prepare
in class NameUpdate
protected String operation()
NameUpdate
operation
in class NameUpdate
Copyright © 2005–2015 BaseX Team. All rights reserved.