Class DBOptimize

  • All Implemented Interfaces:
    Comparable<DBUpdate>

    public final class DBOptimize
    extends DBUpdate
    Update primitive for the optimize function.
    Author:
    BaseX Team 2005-24, BSD License, Dimitar Popov
    • Method Detail

      • prepare

        public void prepare()
        Description copied from class: DBUpdate
        Prepares this operation.
        Specified by:
        prepare 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