Package | Description |
---|---|
org.basex | |
org.basex.api.client |
Client sessions.
|
org.basex.core |
Database core classes.
|
org.basex.core.cmd |
Database commands.
|
org.basex.core.parse | |
org.basex.gui |
GUI Package.
|
org.basex.io.random | |
org.basex.query |
XQuery implementation.
|
org.basex.query.expr.ft |
XQuery Full Text expressions.
|
org.basex.query.func.unit |
Unit Functions.
|
org.basex.query.util |
XQuery utility classes.
|
org.basex.query.util.pkg | |
org.basex.server |
Server implementation.
|
Constructor and Description |
---|
BaseXServer(Context ctx,
String... args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Context |
LocalSession.context()
Returns the associated database context.
|
Constructor and Description |
---|
ClientSession(Context context,
String username,
String password)
Constructor, specifying login data.
|
ClientSession(Context context,
String username,
String password,
OutputStream output)
Constructor, specifying login data and an output stream.
|
LocalSession(Context context)
Default constructor.
|
LocalSession(Context context,
OutputStream output)
Constructor, specifying an output stream.
|
LocalSession(Context context,
String username,
String password)
Constructor, specifying login data.
|
LocalSession(Context context,
String username,
String password,
OutputStream output)
Constructor, specifying login data and an output stream.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
Command.context
Database context.
|
Context |
CLI.context
Database context.
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
Command.close(Context ctx,
String db)
Closes the specified database if it is currently opened and only pinned once.
|
String |
Command.execute(Context ctx)
Executes the command and returns the result as string.
|
void |
Command.execute(Context ctx,
OutputStream os)
Executes the command and prints the result to the specified output
stream.
|
void |
Command.init(Context ctx,
OutputStream os)
Initializes the command execution.
|
boolean |
Command.newData(Context ctx)
Closes an open data reference and returns
true if this command will change the
data() reference. |
boolean |
Events.notify(Context ctx,
byte[] name,
byte[] msg)
Notifies the watching sessions about an event.
|
boolean |
Command.run(Context ctx)
Runs the command without permission, data and concurrency checks.
|
boolean |
Command.run(Context ctx,
OutputStream os)
Runs the command without permission, data and concurrency checks.
|
boolean |
Command.updated(Context ctx)
Checks if the command has updated any data.
|
boolean |
Command.updating(Context ctx)
Checks if the command performs updates/write operations.
|
Constructor and Description |
---|
CLI(String[] args,
Context ctx)
Constructor.
|
Context(Context ctx,
ClientListener listener)
Constructor, called by clients, and adopting the variables of the main process.
|
Modifier and Type | Method and Description |
---|---|
static void |
Close.close(Data data,
Context ctx)
Closes the specified database.
|
static Data |
CreateDB.create(String name,
Parser parser,
Context ctx,
MainOptions options)
Returns a database instance from the specified parser.
|
static Data |
CreateDB.create(String name,
Parser parser,
Context ctx,
MainOptions options,
boolean mem)
Creates a new database instance, using the specified parser.
|
static String |
Find.find(String query,
Context ctx,
boolean root)
Creates an XQuery representation for the specified query.
|
protected void |
Run.finish(Context ctx) |
static String |
Get.get(String name,
Context ctx)
Returns the value of the specified option.
|
static String |
Info.info(Context context)
Creates a database information string.
|
protected boolean |
Run.init(Context ctx)
Initializes the specified input.
|
boolean |
Restore.newData(Context ctx) |
boolean |
OptimizeAll.newData(Context ctx) |
boolean |
Open.newData(Context ctx) |
boolean |
Execute.newData(Context ctx) |
boolean |
DropDB.newData(Context ctx) |
boolean |
Check.newData(Context ctx) |
boolean |
AlterDB.newData(Context ctx) |
boolean |
ACreate.newData(Context ctx) |
static Data |
Open.open(String name,
Context context,
MainOptions options)
Opens the specified database.
|
static void |
OptimizeAll.optimizeAll(Data data,
Context context,
MainOptions options,
OptimizeAll cmd)
Optimizes all data structures and closes the database.
|
String |
AQuery.parameters(Context ctx)
Returns the serialization parameters.
|
boolean |
AQuery.updated(Context ctx) |
boolean |
Test.updating(Context ctx) |
boolean |
ShowBackups.updating(Context ctx) |
boolean |
Find.updating(Context ctx) |
boolean |
Execute.updating(Context ctx) |
boolean |
AQuery.updating(Context ctx) |
Constructor and Description |
---|
CommandParser(String input,
Context ctx)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
Context |
GUI.context
Database Context.
|
Constructor and Description |
---|
GUI(Context context,
GUIOptions gopts)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TableDiskAccess.locked(String db,
Context ctx)
Checks if the table of the specified database is locked.
|
Modifier and Type | Field and Description |
---|---|
Context |
QueryContext.context
Database context.
|
Constructor and Description |
---|
QueryContext(Context context)
Constructor.
|
QueryProcessor(String query,
Context ctx)
Default constructor.
|
StaticContext(Context ctx)
Constructor setting the XQuery version.
|
Constructor and Description |
---|
Thesaurus(IO file,
byte[] res,
long min,
long max,
Context ctx)
Reads a thesaurus file.
|
Thesaurus(IO file,
Context ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FElem |
Suite.test(IOFile root,
Context ctx,
Proc proc)
Tests all test functions in the specified path.
|
Modifier and Type | Method and Description |
---|---|
static ANode |
DataBuilder.stripNS(ANode node,
byte[] ns,
Context ctx)
Returns a new node without the specified namespace.
|
Constructor and Description |
---|
ModuleLoader(Context context)
Constructor.
|
RepoManager(Context context)
Constructor.
|
RepoManager(Context context,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Context |
ClientListener.context()
Returns the context of this session.
|
Constructor and Description |
---|
ClientListener(Socket socket,
Context context,
BaseXServer server)
Constructor.
|
ServerQuery(String query,
Context ctx)
Constructor.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.