Class Info


public final class Info extends Command
Evaluates the 'info' command and returns general database information.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • Info

      public Info()
      Default constructor.
  • Method Details

    • run

      protected boolean run() throws IOException
      Description copied from class: Command
      Executes the command and serializes the result (internal call).
      Specified by:
      run in class Command
      Returns:
      success of operation
      Throws:
      IOException - I/O exception
    • addLocks

      public void addLocks()
      Description copied from class: Job
      Adds the strings (databases, special identifiers) for which locks need to be acquired.
      Overrides:
      addLocks in class Job
    • info

      public static String info(Context context)
      Creates a database information string.
      Parameters:
      context - database context
      Returns:
      info string