Class DBAlter
java.lang.Object
org.basex.query.up.primitives.Update
org.basex.query.up.primitives.name.NameUpdate
org.basex.query.up.primitives.name.DBAlter
- All Implemented Interfaces:
Comparable<NameUpdate>
Update primitive for the
Function._DB_ALTER function.- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDBAlter(String name, String newName, QueryContext qc, InputInfo info) Constructor. -
Method Summary
Methods inherited from class org.basex.query.up.primitives.name.NameUpdate
compareTo, merge, name, size
-
Constructor Details
-
DBAlter
Constructor.- Parameters:
name- database to be renamednewName- name of new databaseqc- 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
-
operation
Description copied from class:NameUpdateReturns an info string.- Specified by:
operationin classNameUpdate- Returns:
- info string
-
databases
Description copied from class:NameUpdateAdds all databases to be updated to the specified list.- Overrides:
databasesin classNameUpdate- Parameters:
db- databases
-