Package org.basex.core.cmd
package org.basex.core.cmd
Database commands.
-
ClassesClassDescriptionAbstract class for database updates.Evaluates the 'add' command and adds a document to a collection.Evaluates the 'restore' command and restores a backup of a database.Evaluates the 'alter database' command and renames a database.Evaluates the 'alter password' command and alters the password of a user.Evaluates the 'alter user' command and alters the name of a user.Abstract class for database queries.Evaluates the 'check' command: opens an existing database or creates a new one.Evaluates the 'close' command and closes the current database.Evaluates the 'copy' command and creates a copy of a database.Evaluates the 'backup' command and creates a backup of a database.Evaluates the 'create db' command and creates a new database.Evaluates the 'create db' command and creates a new index.Evaluates the 'create user' command and creates a new user.Evaluates the 'delete' command and deletes resources from a database.Evaluates the 'drop backup' command and deletes backups of a database.Evaluates the 'drop database' command and deletes a database.Evaluates the 'drop index' command and deletes indexes in the currently opened database.Evaluates the 'drop user' command and drops a user.Evaluates the 'execute' command and runs a command script.Evaluates the 'exit' command and quits the console.Evaluates the 'export' command and saves the currently opened database to disk.Evaluates the 'find' command and processes a simplified request as XQuery.Evaluates the 'flush' command and flushes the database buffers.Evaluates the 'get' command and return the value of a database option.Evaluates the 'grant' command and grants permissions to users.Evaluates the 'help' command and returns help on the database commands.Evaluates the 'info' command and returns general database information.Evaluates the 'info database' command and returns information on the currently opened database.Evaluates the 'info index' command and returns information on the indexes of the currently opened database.Evaluates the 'info storage' command and returns the table representation of the currently opened database.Evaluates the 'inspect' command: checks if the currently opened database has inconsistent data structures.Evaluates the 'jobs list' command.Evaluates the 'jobs stop' command.Evaluates the 'jobs stop' command.Evaluates the 'kill' command and stops user sessions.Evaluates the 'list' command and shows all available databases.Evaluates the 'open' command and opens a database.Evaluates the 'optimize' command and optimizes the data structures of the currently opened database.Evaluates the 'optimize all' command and rebuilds all data structures of the currently opened database.Evaluates the 'password' command and alters the user's password.Evaluates the 'rename' command and renames resources or directories in a collection.Evaluates the 'replace' command and replaces documents in a collection.Evaluates the 'repo delete' command.Evaluates the 'repo install' command.Evaluates the 'repo list' command.Evaluates the 'restore' command and restores a backup of a database.Evaluates the 'retrieve' command and retrieves binary content.Evaluates the 'run' command and processes an input file.Evaluates the 'set' command and modifies database options.Evaluates the 'show backups' command and shows available backups.Evaluates the 'show sessions' command and shows server sessions.Evaluates the 'show users' command and shows existing users.Evaluates the 'store' command and stores binary content into the database.Evaluates the 'test' command and processes an input file.Evaluates the 'xquery' command and processes an XQuery request.