Package | Description |
---|---|
org.basex.api.client |
Client sessions.
|
org.basex.core |
Database core classes.
|
org.basex.core.cmd |
Database commands.
|
org.basex.core.parse | |
org.basex.data |
Database structures.
|
org.basex.gui |
GUI Package.
|
org.basex.gui.dialog |
GUI Dialog Windows.
|
org.basex.gui.view.info |
GUI Info View.
|
org.basex.gui.view.text |
GUI Text View.
|
Modifier and Type | Method and Description |
---|---|
String |
Session.execute(Command command)
Executes a
Command and returns the result as string or serializes
it to the specified output stream. |
protected abstract void |
Session.execute(Command command,
OutputStream output)
Executes a command and prints the result to the specified output stream.
|
protected void |
LocalSession.execute(Command command,
OutputStream output) |
protected void |
ClientSession.execute(Command command,
OutputStream output) |
Modifier and Type | Method and Description |
---|---|
protected void |
CLI.execute(Command cmd,
boolean info)
Executes the specified command and optionally prints some information.
|
Modifier and Type | Class and Description |
---|---|
class |
ACreate
Abstract class for database creation commands.
|
class |
Add
Evaluates the 'add' command and adds a document to a collection.
|
class |
AlterDB
Evaluates the 'alter database' command and renames a database.
|
class |
AlterPassword
Evaluates the 'alter password' command and alters the password of a user.
|
class |
AlterUser
Evaluates the 'alter user' command and alters the name of a user.
|
class |
AQuery
Abstract class for database queries.
|
class |
Check
Evaluates the 'check' command: opens an existing database or
creates a new one.
|
class |
Close
Evaluates the 'close' command and closes the current database.
|
class |
Copy
Evaluates the 'copy' command and creates a copy of a database.
|
class |
CreateBackup
Evaluates the 'backup' command and creates a backup of a database.
|
class |
CreateDB
Evaluates the 'create db' command and creates a new database.
|
class |
CreateEvent
Evaluates the 'create event' command and creates a new event.
|
class |
CreateIndex
Evaluates the 'create db' command and creates a new index.
|
class |
CreateUser
Evaluates the 'create user' command and creates a new user.
|
class |
Delete
Evaluates the 'delete' command and deletes resources from a database.
|
class |
DropBackup
Evaluates the 'drop backup' command and deletes backups of a database.
|
class |
DropDB
Evaluates the 'drop database' command and deletes a database.
|
class |
DropEvent
Evaluates the 'drop event' command and drops an existing event.
|
class |
DropIndex
Evaluates the 'drop index' command and deletes indexes in the currently
opened database.
|
class |
DropUser
Evaluates the 'drop user' command and drops a user.
|
class |
Execute
Evaluates the 'execute' command and runs a command script.
|
class |
Exit
Evaluates the 'exit' command and quits the console.
|
class |
Export
Evaluates the 'export' command and saves the currently opened database
to disk.
|
class |
Find
Evaluates the 'find' command and processes a simplified request as XQuery.
|
class |
Flush
Evaluates the 'flush' command and flushes the database buffers.
|
class |
Get
Evaluates the 'get' command and return the value of a database option.
|
class |
Grant
Evaluates the 'grant' command and grants permissions to users.
|
class |
Help
Evaluates the 'help' command and returns help on the database commands.
|
class |
Info
Evaluates the 'info' command and returns general database information.
|
class |
InfoDB
Evaluates the 'info database' command and returns information on the
currently opened database.
|
class |
InfoIndex
Evaluates the 'info index' command and returns information on the indexes
of the currently opened database.
|
class |
InfoStorage
Evaluates the 'info storage' command and returns the table representation
of the currently opened database.
|
class |
Inspect
Evaluates the 'inspect' command: checks if the currently opened database has
inconsistent data structures.
|
class |
Kill
Evaluates the 'kill' command and stops user sessions.
|
class |
List
Evaluates the 'list' command and shows all available databases.
|
class |
Open
Evaluates the 'open' command and opens a database.
|
class |
Optimize
Evaluates the 'optimize' command and optimizes the data structures of
the currently opened database.
|
class |
OptimizeAll
Evaluates the 'optimize all' command and rebuilds all data structures of
the currently opened database.
|
class |
Password
Evaluates the 'password' command and alters the user's password.
|
class |
Rename
Evaluates the 'rename' command and renames resources or directories
in a collection.
|
class |
Replace
Evaluates the 'replace' command and replaces documents in a collection.
|
class |
RepoDelete
Evaluates the 'repo delete' command.
|
class |
RepoInstall
Evaluates the 'repo install' command.
|
class |
RepoList
Evaluates the 'repo list' command.
|
class |
Restore
Evaluates the 'restore' command and restores a backup of a database.
|
class |
Retrieve
Evaluates the 'retrieve' command and retrieves binary content.
|
class |
Run
Evaluates the 'run' command and processes an input file.
|
class |
Set
Evaluates the 'set' command and modifies database options.
|
class |
ShowBackups
Evaluates the 'show backups' command and shows available backups.
|
class |
ShowEvents
Evaluates the 'show events' command and lists all existing events.
|
class |
ShowSessions
Evaluates the 'show sessions' command and shows server sessions.
|
class |
ShowUsers
Evaluates the 'show users' command and shows existing users.
|
class |
Store
Evaluates the 'store' command and stores binary content into the database.
|
class |
Test
Evaluates the 'test' command and processes an input file.
|
class |
XQuery
Evaluates the 'xquery' command and processes an XQuery request.
|
Modifier and Type | Method and Description |
---|---|
Command[] |
CommandParser.parse()
Parses the input and returns a command list.
|
Command |
CommandParser.parseSingle()
Parses the input as single command and returns the resulting command.
|
Command[] |
CommandParser.suggest()
Parses the input and creates command completions on the way.
|
Constructor and Description |
---|
CmdBuilder(Command cmd,
boolean conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
MemData.createIndex(IndexType type,
MainOptions options,
Command cmd) |
void |
DiskData.createIndex(IndexType type,
MainOptions options,
Command cmd) |
abstract void |
Data.createIndex(IndexType type,
MainOptions options,
Command cmd)
Drops the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
GUI.execute(boolean edit,
Command... cmd)
Launches the specified commands in a separate thread.
|
void |
GUI.execute(Command cmd)
Launches the specified command in a separate thread.
|
Modifier and Type | Method and Description |
---|---|
static void |
DialogProgress.execute(GUI gui,
Command... cmds)
Runs the specified commands, decorated by a progress dialog, and
calls
BaseXDialog.action(java.lang.Object) if the dialog is closed. |
Modifier and Type | Method and Description |
---|---|
void |
InfoView.setInfo(String info,
Command cmd,
boolean ok,
boolean reset)
Displays the specified info string.
|
void |
InfoView.setInfo(String info,
Command cmd,
String time,
boolean ok,
boolean reset)
Displays the specified info string.
|
Modifier and Type | Method and Description |
---|---|
void |
TextView.cacheText(ArrayOutput out,
Command c,
Result r)
Caches the output.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.