Class DBDelete

All Implemented Interfaces:
Comparable<DBUpdate>

public final class DBDelete extends DBUpdate
Update primitive for the Function._DB_DELETE function.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • DBDelete

      public DBDelete(Data data, String path, InputInfo info)
      Constructor.
      Parameters:
      data - data
      path - target path
      info - input info
  • Method Details

    • prepare

      public void prepare()
      Description copied from class: DBUpdate
      Prepares this operation.
      Specified by:
      prepare in class DBUpdate
    • apply

      public void apply()
      Description copied from class: DBUpdate
      Applies this operation.
      Specified by:
      apply in class DBUpdate
    • merge

      public void merge(Update update)
      Description copied from class: Update
      Merges two update operations pointing to the same target.
      Specified by:
      merge in class Update
      Parameters:
      update - operation to merge with
    • size

      public int size()
      Description copied from class: Update
      Returns the number of update operations.
      Specified by:
      size in class Update
      Returns:
      number of updates