Package org.basex.core.cmd

Database commands.

See:
          Description

Class Summary
ACreate Abstract class for database creation commands.
Add Evaluates the 'add' command and adds a document to a collection.
Note that the constructors of this class have changed with Version 7.0: the target path and file name have been merged and are now specified as first argument.
AlterDB Evaluates the 'alter database' command and renames a database.
AlterUser Evaluates the 'alter user' command and alters the password of a user.
AQuery Abstract class for database queries.
Check Evaluates the 'check' command: opens an existing database or creates a new one.
Close Evaluates the 'close' command and closes the current database.
Copy Evaluates the 'copy' command and creates a copy of a database.
CreateBackup Evaluates the 'backup' command and creates a backup of a database.
CreateDB Evaluates the 'create db' command and creates a new database.
CreateEvent Evaluates the 'create event' command and creates a new event.
CreateIndex Evaluates the 'create db' command and creates a new index.
CreateUser Evaluates the 'create user' command and creates a new user.
Cs Evaluates the 'cs' command and sets a new initial context set.
Delete Evaluates the 'delete' command and deletes resources from a database.
DropBackup Evaluates the 'drop backup' command and deletes backups of a database.
DropDB Evaluates the 'drop database' command and deletes a database.
DropEvent Evaluates the 'drop event' command and drops an existing event.
DropIndex Evaluates the 'drop index' command and deletes indexes in the currently opened database.
DropUser Evaluates the 'drop user' command and drops a user.
Execute Evaluates the 'execute' command and runs a command script.
Exit Evaluates the 'exit' command and quits the console.
Export Evaluates the 'export' command and saves the currently opened database to disk.
Find Evaluates the 'find' command and processes a simplified request as XQuery.
Flush Evaluates the 'flush' command and flushes the database buffers.
Get Evaluates the 'get' command and return the value of a database property.
Grant Evaluates the 'grant' command and grants permissions to users.
Help Evaluates the 'help' command and returns help on the database commands.
Info Evaluates the 'info' command and returns general database information.
InfoDB Evaluates the 'info database' command and returns information on the currently opened database.
InfoIndex Evaluates the 'info index' command and returns information on the indexes of the currently opened database.
InfoStorage Evaluates the 'info storage' command and returns the table representation of the currently opened database.
Inspect Evaluates the 'inspect' command: checks if the currently opened database has inconsistent data structures.
Kill Evaluates the 'kill' command and stops user sessions.
List Evaluates the 'list' command and shows all available databases.
Open Evaluates the 'open' command and opens a database.
Optimize Evaluates the 'optimize' command and optimizes the data structures of the currently opened database.
OptimizeAll Evaluates the 'optimize all' command and rebuilds all data structures of the currently opened database.
Password Evaluates the 'password' command and alters the user's password.
Rename Evaluates the 'rename' command and renames resources or directories in a collection.
Replace Evaluates the 'replace' command and replaces documents in a collection.
RepoDelete Evaluates the 'repo delete' command.
RepoInstall Evaluates the 'repo install' command.
RepoList Evaluates the 'repo list' command.
Restore Evaluates the 'restore' command and restores a backup of a database.
Retrieve Evaluates the 'retrieve' command and retrieves binary content.
Run Evaluates the 'run' command and processes an input file.
Set Evaluates the 'set' command and modifies database properties.
ShowBackups Evaluates the 'show backups' command and shows available backups.
ShowEvents Evaluates the 'show events' command and lists all existing events.
ShowSessions Evaluates the 'show sessions' command and shows server sessions.
ShowUsers Evaluates the 'show users' command and shows existing users.
Store Evaluates the 'store' command and stores binary content into the database.
XQuery Evaluates the 'xquery' command and processes an XQuery request.
 

Package org.basex.core.cmd Description

Database commands.