Uses of Class
org.basex.core.Command
Packages that use Command
Package
Description
Client sessions.
Database core classes.
Database commands.
Database structures.
GUI Package.
GUI Dialog Windows.
GUI Info View.
GUI Text View.
-
Uses of Command in org.basex.api.client
Methods in org.basex.api.client with parameters of type CommandModifier and TypeMethodDescriptionprotected voidClientSession.execute(Command command, OutputStream output) protected voidLocalSession.execute(Command command, OutputStream output) final StringExecutes aCommandand returns the result as string or serializes it to the specified output stream.protected abstract voidSession.execute(Command command, OutputStream output) Executes a command and prints the result to the specified output stream. -
Uses of Command in org.basex.core
Methods in org.basex.core that return CommandMethods in org.basex.core with parameters of type CommandModifier and TypeMethodDescriptionprotected final voidExecutes the specified command and optionally prints some information.protected static StringExecutes a command and returns exceptions into assertion errors.Constructors in org.basex.core with parameters of type CommandModifierConstructorDescriptionClient(Command c, CountDownLatch start, CountDownLatch stop) Client constructor. -
Uses of Command in org.basex.core.cmd
Subclasses of Command in org.basex.core.cmdModifier and TypeClassDescriptionclassAbstract class for database updates.final classEvaluates the 'add' command and adds a document to a collection.final classEvaluates the 'restore' command and restores a backup of a database.final classEvaluates the 'alter database' command and renames a database.final classEvaluates the 'alter password' command and alters the password of a user.final classEvaluates the 'alter user' command and alters the name of a user.classAbstract class for database queries.final classEvaluates the 'check' command: opens an existing database or creates a new one.final classEvaluates the 'close' command and closes the current database.final classEvaluates the 'copy' command and creates a copy of a database.final classEvaluates the 'backup' command and creates a backup of a database.final classEvaluates the 'create db' command and creates a new database.final classEvaluates the 'create db' command and creates a new index.final classEvaluates the 'create user' command and creates a new user.final classEvaluates the 'delete' command and deletes resources from a database.final classEvaluates the 'drop backup' command and deletes backups of a database.final classEvaluates the 'drop database' command and deletes a database.final classEvaluates the 'drop index' command and deletes indexes in the currently opened database.final classEvaluates the 'drop user' command and drops a user.classEvaluates the 'execute' command and runs a command script.final classEvaluates the 'exit' command and quits the console.final classEvaluates the 'export' command and saves the currently opened database to disk.final classEvaluates the 'find' command and processes a simplified request as XQuery.final classEvaluates the 'flush' command and flushes the database buffers.final classEvaluates the 'get' command and return the value of a database option.final classEvaluates the 'grant' command and grants permissions to users.final classEvaluates the 'help' command and returns help on the database commands.final classEvaluates the 'info' command and returns general database information.final classEvaluates the 'info database' command and returns information on the currently opened database.final classEvaluates the 'info index' command and returns information on the indexes of the currently opened database.final classEvaluates the 'info storage' command and returns the table representation of the currently opened database.final classEvaluates the 'inspect' command: checks if the currently opened database has inconsistent data structures.final classEvaluates the 'jobs list' command.final classEvaluates the 'jobs stop' command.final classEvaluates the 'jobs stop' command.final classEvaluates the 'kill' command and stops user sessions.final classEvaluates the 'list' command and shows all available databases.final classEvaluates the 'open' command and opens a database.final classEvaluates the 'optimize' command and optimizes the data structures of the currently opened database.final classEvaluates the 'optimize all' command and rebuilds all data structures of the currently opened database.final classEvaluates the 'password' command and alters the user's password.final classEvaluates the 'rename' command and renames resources or directories in a collection.final classEvaluates the 'replace' command and replaces documents in a collection.final classEvaluates the 'repo delete' command.final classEvaluates the 'repo install' command.final classEvaluates the 'repo list' command.final classEvaluates the 'restore' command and restores a backup of a database.final classEvaluates the 'retrieve' command and retrieves binary content.final classEvaluates the 'run' command and processes an input file.final classEvaluates the 'set' command and modifies database options.final classEvaluates the 'show backups' command and shows available backups.final classEvaluates the 'show sessions' command and shows server sessions.final classEvaluates the 'show users' command and shows existing users.final classEvaluates the 'store' command and stores binary content into the database.final classEvaluates the 'test' command and processes an input file.final classEvaluates the 'xquery' command and processes an XQuery request.Constructors in org.basex.core.cmd with parameters of type Command -
Uses of Command in org.basex.core.parse
Methods in org.basex.core.parse that return CommandModifier and TypeMethodDescriptionfinal Command[]CommandParser.parse()Parses the input and returns a command list.final CommandCommandParser.parseSingle()Restricts parsing to a single command.Method parameters in org.basex.core.parse with type arguments of type CommandModifier and TypeMethodDescriptionprotected abstract voidParses the input and fills the command list.Constructors in org.basex.core.parse with parameters of type Command -
Uses of Command in org.basex.data
Methods in org.basex.data with parameters of type CommandModifier and TypeMethodDescriptionabstract voidData.createIndex(IndexType type, Command cmd) Drops the specified index.voidDiskData.createIndex(IndexType type, Command cmd) voidMemData.createIndex(IndexType type, Command cmd) -
Uses of Command in org.basex.gui
Methods in org.basex.gui with parameters of type Command -
Uses of Command in org.basex.gui.dialog
Methods in org.basex.gui.dialog with parameters of type CommandModifier and TypeMethodDescriptionstatic voidRuns the specified commands, decorated by a progress dialog, and callsBaseXDialog.action(java.lang.Object)if the dialog is closed. -
Uses of Command in org.basex.gui.view.info
Methods in org.basex.gui.view.info with parameters of type Command -
Uses of Command in org.basex.gui.view.text
Methods in org.basex.gui.view.text with parameters of type CommandModifier and TypeMethodDescriptionvoidTextView.cache(ArrayOutput out, Command command, Value result) Caches the output, or indicates that the query must be executed again in order to retrieve the full result.