Enum Class UpdateType

java.lang.Object
java.lang.Enum<UpdateType>
org.basex.query.up.primitives.UpdateType
All Implemented Interfaces:
Serializable, Comparable<UpdateType>, java.lang.constant.Constable

public enum UpdateType extends Enum<UpdateType>
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
  • Enum Constant Details

    • BACKUPALTER

      public static final UpdateType BACKUPALTER
      Alter backup.
    • BACKUPCREATE

      public static final UpdateType BACKUPCREATE
      Create backup.
    • _NODE_UPDATES_

      public static final UpdateType _NODE_UPDATES_
      Dummy type, indicating start of node updates.
    • INSERTBEFORE

      public static final UpdateType INSERTBEFORE
      Insert before.
    • DELETENODE

      public static final UpdateType DELETENODE
      Delete.
    • REPLACENODE

      public static final UpdateType REPLACENODE
      Replace node.
    • RENAMENODE

      public static final UpdateType RENAMENODE
      Rename.
    • REPLACEVALUE

      public static final UpdateType REPLACEVALUE
      Replace value.
    • INSERTATTR

      public static final UpdateType INSERTATTR
      Insert attribute.
    • INSERTINTOFIRST

      public static final UpdateType INSERTINTOFIRST
      Insert into as first.
    • INSERTINTO

      public static final UpdateType INSERTINTO
      Insert into.
    • INSERTINTOLAST

      public static final UpdateType INSERTINTOLAST
      Insert into as last.
    • INSERTAFTER

      public static final UpdateType INSERTAFTER
      Insert after.
    • FNPUT

      public static final UpdateType FNPUT
      FnPut.
    • DBADD

      public static final UpdateType DBADD
      Add document.
    • DBSTORE

      public static final UpdateType DBSTORE
      Add binary resource.
    • DBRENAME

      public static final UpdateType DBRENAME
      Rename resource.
    • DBDELETE

      public static final UpdateType DBDELETE
      Delete resource.
    • DBOPTIMIZE

      public static final UpdateType DBOPTIMIZE
      Optimize database.
    • DBFLUSH

      public static final UpdateType DBFLUSH
      Flush database.
    • USERINFO

      public static final UpdateType USERINFO
      Update info.
    • USERGRANT

      public static final UpdateType USERGRANT
      Change user name.
    • USERPASSWORD

      public static final UpdateType USERPASSWORD
      Change password.
    • USERDROP

      public static final UpdateType USERDROP
      Drop user.
    • USERALTER

      public static final UpdateType USERALTER
      Change user name.
    • USERCREATE

      public static final UpdateType USERCREATE
      Create user.
    • DBCOPY

      public static final UpdateType DBCOPY
      Copy database.
    • DBDROP

      public static final UpdateType DBDROP
      Drop database.
    • DBALTER

      public static final UpdateType DBALTER
      Alter database.
    • DBCREATE

      public static final UpdateType DBCREATE
      Create database.
    • DBRESTORE

      public static final UpdateType DBRESTORE
      Restore database.
    • BACKUPDROP

      public static final UpdateType BACKUPDROP
      Drop backup.
  • Method Details

    • values

      public static UpdateType[] 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

      public static UpdateType valueOf(String name)
      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 name
      NullPointerException - if the argument is null