| Package | Description |
|---|---|
| org.basex.build |
Classes for creating new database instances.
|
| org.basex.build.file |
Classes for creating databases from different sources.
|
| org.basex.build.xml |
Classes for creating databases from XML documents.
|
| org.basex.core |
Database core classes.
|
| org.basex.core.cmd |
Database commands.
|
| org.basex.index |
Database Index structures.
|
| org.basex.index.ft | |
| org.basex.index.value | |
| org.basex.io |
Input and Output classes.
|
| org.basex.query |
XQuery implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Builder
This class provides an interface for building database instances.
|
class |
DirParser
This class recursively scans files and directories and parses all
relevant files.
|
class |
DiskBuilder
This class creates a database instance on disk.
|
class |
MemBuilder
This class creates a database instance in main memory.
|
class |
Parser
This class defines a parser, which is used to create new databases instances.
|
class |
SingleParser
This class defines an abstract parser for single resources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CSVParser
This class parses files in the CSV format
and sends events to the specified database builder.
|
class |
HTMLParser
This class uses TagSoup to convert HTML input to well-formed XML.
|
class |
JSONParser
This class parses files in the JSON format
and sends events to the specified database builder.
|
class |
MAB2Parser
This class parses files in the MAB2 format
and sends events to the specified database builder.
|
class |
TextParser
This class parses files in the plain-text format
and sends events to the specified database builder.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DOMWrapper
This class converts an DOM document instance to a database representation.
|
class |
SAXWrapper
This class parses an XML document with Java's internal SAX parser.
|
class |
XMLParser
This class parses the tokens that are delivered by the
XMLScanner and
sends them to the specified database builder. |
| Modifier and Type | Class and Description |
|---|---|
class |
Command
This class provides the architecture for all internal command
implementations.
|
| Modifier and Type | Method and Description |
|---|---|
protected <P extends Progress> |
Progress.progress(P prog)
Sets a new sub progress.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Context.register(Progress pr)
Locks a writing process and starts the timeout.
|
void |
Context.unregister(Progress pr)
Unlocks the process and stops the timeout.
|
| 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.
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. |
class |
AlterDB
Evaluates the 'alter database' command and renames a database.
|
class |
AlterUser
Evaluates the 'alter user' command and alters the password of a user.
|
class |
Check
Evaluates the 'checks' 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 |
Create
This class allows developers to define their own parser implementations.
|
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 |
Cs
Evaluates the 'cs' command and sets a new initial context set.
|
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 |
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 property.
|
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 |
Kill
Evaluates the 'kill' command and stops user sessions.
|
class |
List
Evaluates the 'list' command and shows all available databases.
|
class |
ListDB
Evaluates the 'list' command and shows all documents in a database.
|
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 a query file as XQuery.
|
class |
Set
Evaluates the 'set' command and modifies database properties.
|
class |
ShowBackups
Evaluates the 'show backups' command and shows available backups.
|
class |
ShowDatabases
Evaluates the 'show databases' command and shows opened databases.
|
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 |
XQuery
Evaluates the 'xquery' command and processes an XQuery request.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IndexBuilder
This interface defines the functions which are needed for building
new index structures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FTBuilder
This class contains common methods for full-text index builders.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ValueBuilder
This class builds an index for attribute values and text contents in a
tree structure and stores the result to disk.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Zip
Contains methods for zipping and unzipping archives.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryContext
This class provides query-specific methods and properties.
|
class |
QueryProcessor
This class is an entry point for evaluating XQuery implementations.
|