Package org.basex.query.up.primitives
Enum Class UpdateType
- All Implemented Interfaces:
Serializable,Comparable<UpdateType>,java.lang.constant.Constable
Types of update operations. Do not change the order as this affects
NodeUpdateComparator and will most likely lead to weird results.- Author:
- BaseX Team 2005-21, BSD License, Lukas Kircher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDummy type, indicating start of node updates.Alter backup.Create backup.Drop backup.Add document.Alter database.Copy database.Create database.Delete resource.Drop database.Flush database.Optimize database.Rename resource.Restore database.Add binary resource.Delete.FnPut.Insert after.Insert attribute.Insert before.Insert into.Insert into as first.Insert into as last.Rename.Replace node.Replace value.Change user name.Create user.Drop user.Change user name.Update info.Change password. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateTypeReturns the enum constant of this class with the specified name.static UpdateType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BACKUPALTER
Alter backup. -
BACKUPCREATE
Create backup. -
_NODE_UPDATES_
Dummy type, indicating start of node updates. -
INSERTBEFORE
Insert before. -
DELETENODE
Delete. -
REPLACENODE
Replace node. -
RENAMENODE
Rename. -
REPLACEVALUE
Replace value. -
INSERTATTR
Insert attribute. -
INSERTINTOFIRST
Insert into as first. -
INSERTINTO
Insert into. -
INSERTINTOLAST
Insert into as last. -
INSERTAFTER
Insert after. -
FNPUT
FnPut. -
DBADD
Add document. -
DBSTORE
Add binary resource. -
DBRENAME
Rename resource. -
DBDELETE
Delete resource. -
DBOPTIMIZE
Optimize database. -
DBFLUSH
Flush database. -
USERINFO
Update info. -
USERGRANT
Change user name. -
USERPASSWORD
Change password. -
USERDROP
Drop user. -
USERALTER
Change user name. -
USERCREATE
Create user. -
DBCOPY
Copy database. -
DBDROP
Drop database. -
DBALTER
Alter database. -
DBCREATE
Create database. -
DBRESTORE
Restore database. -
BACKUPDROP
Drop backup.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-