|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
org.basex | Main package of the project, containing all starter classes with main methods. |
org.basex.build | Classes for creating new database instances. |
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.io.random | |
org.basex.query | XQuery implementation. |
org.basex.query.ft | XQuery Full Text expressions. |
org.basex.query.func | XQuery functions. |
org.basex.query.util | XQuery utility classes. |
org.basex.query.util.inspect | |
org.basex.query.util.pkg | |
org.basex.server | Server implementation. |
org.basex.util | Utility classes. |
Uses of Context in org.basex |
---|
Constructors in org.basex with parameters of type Context | |
---|---|
BaseXServer(Context ctx,
java.lang.String... args)
Constructor. |
Uses of Context in org.basex.build |
---|
Constructors in org.basex.build with parameters of type Context | |
---|---|
DiskBuilder(java.lang.String nm,
Parser parse,
Context ctx)
Constructor. |
|
EmptyBuilder(IO io,
Context ctx)
Constructor. |
Uses of Context in org.basex.core |
---|
Fields in org.basex.core declared as Context | |
---|---|
Context |
Main.context
Database context. |
protected Context |
Command.context
Database context. |
Methods in org.basex.core with parameters of type Context | |
---|---|
static StringList |
Databases.backupPaths(java.lang.String db,
Context ctx)
Returns the paths of all backups of the specified database. |
protected static boolean |
Command.close(Context ctx,
java.lang.String db)
Closes the specified database if it is currently opened and only pinned once. |
java.lang.String |
Command.execute(Context ctx)
Executes the command and returns the result as string. |
void |
Command.execute(Context ctx,
java.io.OutputStream os)
Executes the command and prints the result to the specified output stream. |
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,
java.io.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. |
Constructors in org.basex.core with parameters of type Context | |
---|---|
Context(Context ctx,
ClientListener cl)
Constructor, called by clients, and adopting the variables of the main process. |
|
Main(java.lang.String[] args,
Context ctx)
Constructor. |
|
Users(Context ctx)
Constructor for global users. |
Uses of Context in org.basex.core.cmd |
---|
Methods in org.basex.core.cmd with parameters of type Context | |
---|---|
static boolean |
AlterDB.alter(java.lang.String source,
java.lang.String target,
Context ctx)
Renames the specified database. |
static void |
Close.close(Data data,
Context ctx)
Closes the specified database. |
static Data |
CreateDB.create(IO source,
boolean single,
Context ctx)
Creates a new database if a valid path was specified. |
static Data |
CreateDB.create(java.lang.String name,
Parser parser,
Context ctx)
Returns a database instance from the specified parser. |
static void |
CreateUser.create(java.lang.String user,
java.lang.String pass,
Context ctx)
Creates a new user. |
static boolean |
DropDB.drop(java.lang.String db,
Context ctx)
Deletes the specified database. |
static java.lang.String |
Find.find(java.lang.String query,
Context ctx,
boolean root)
Creates an XQuery representation for the specified query. |
static java.lang.String |
Info.info(Context context)
Creates a database information string. |
protected boolean |
Run.init(Context ctx)
Initializes the specified input. |
protected boolean |
Execute.init(Context ctx)
Initializes the specified input. |
protected boolean |
Execute.init(java.lang.String input,
Context ctx)
Initializes the specified input. |
static StringList |
List.list(Context ctx)
Returns a list of all databases. |
static MemData |
CreateDB.mainMem(IO source,
Context ctx)
Returns a main memory database instance for the specified input reference. |
static MemData |
CreateDB.mainMem(Parser parser,
Context ctx)
Returns a main memory database instance from the specified parser. |
boolean |
DropDB.newData(Context ctx)
|
boolean |
ACreate.newData(Context ctx)
|
boolean |
Check.newData(Context ctx)
|
boolean |
OptimizeAll.newData(Context ctx)
|
boolean |
Open.newData(Context ctx)
|
boolean |
Execute.newData(Context ctx)
|
boolean |
AlterDB.newData(Context ctx)
|
boolean |
Restore.newData(Context ctx)
|
static Data |
Open.open(java.lang.String name,
Context ctx)
Opens the specified database. |
static void |
OptimizeAll.optimizeAll(Data data,
Context ctx,
OptimizeAll cmd)
Optimizes all data structures and closes the database. |
boolean |
AQuery.updated(Context ctx)
|
boolean |
ShowBackups.updating(Context ctx)
|
boolean |
AQuery.updating(Context ctx)
|
boolean |
Execute.updating(Context ctx)
|
boolean |
Find.updating(Context ctx)
|
protected boolean |
AQuery.updating(Context ctx,
java.lang.String qu)
Checks if the query might perform updates. |
Uses of Context in org.basex.core.parse |
---|
Constructors in org.basex.core.parse with parameters of type Context | |
---|---|
CommandParser(java.lang.String in,
Context c)
Constructor. |
|
StringParser(java.lang.String input,
Context context)
Constructor. |
Uses of Context in org.basex.data |
---|
Constructors in org.basex.data with parameters of type Context | |
---|---|
DiskData(java.lang.String db,
Context ctx)
Default constructor, called from Open.open(java.lang.String, org.basex.core.Context) . |
|
MetaData(java.lang.String db,
Context ctx)
Constructor, specifying the database name and context. |
Uses of Context in org.basex.gui |
---|
Fields in org.basex.gui declared as Context | |
---|---|
Context |
AGUI.context
Database Context. |
Constructors in org.basex.gui with parameters of type Context | |
---|---|
GUI(Context ctx,
GUIProp gprops)
Default constructor. |
Uses of Context in org.basex.io.random |
---|
Methods in org.basex.io.random with parameters of type Context | |
---|---|
static boolean |
TableDiskAccess.locked(java.lang.String db,
Context ctx)
Checks if the table of the specified database is locked. |
Uses of Context in org.basex.query |
---|
Fields in org.basex.query declared as Context | |
---|---|
Context |
QueryContext.context
Database context. |
Constructors in org.basex.query with parameters of type Context | |
---|---|
QueryContext(Context ctx)
Constructor. |
|
QueryProcessor(java.lang.String qu,
Context cx)
Default constructor. |
Uses of Context in org.basex.query.ft |
---|
Constructors in org.basex.query.ft with parameters of type Context | |
---|---|
Thesaurus(IO fl,
byte[] rs,
long mn,
long mx,
Context c)
Reads a thesaurus file. |
|
Thesaurus(IO fl,
Context c)
Constructor. |
Uses of Context in org.basex.query.func |
---|
Methods in org.basex.query.func with parameters of type Context | |
---|---|
static ANode |
FNGen.parseXml(IO input,
Context ctx,
boolean frag)
Returns a document node for the parsed XML input. |
Uses of Context in org.basex.query.util |
---|
Methods in org.basex.query.util with parameters of type Context | |
---|---|
static ANode |
DataBuilder.stripNS(ANode node,
byte[] ns,
Context ctx)
Returns a new node without the specified namespace. |
Uses of Context in org.basex.query.util.inspect |
---|
Methods in org.basex.query.util.inspect with parameters of type Context | |
---|---|
static void |
Inspect.add(byte[] value,
Context ctx,
FElem elem)
Parses a string as XML and adds the resulting nodes to the specified parent. |
Uses of Context in org.basex.query.util.pkg |
---|
Constructors in org.basex.query.util.pkg with parameters of type Context | |
---|---|
JarParser(Context ctx,
InputInfo ii)
Constructor. |
|
ModuleLoader(Context ctx)
Constructor. |
|
Repo(Context ctx)
Constructor. |
|
RepoManager(Context ctx)
Constructor. |
|
RepoManager(Context ctx,
InputInfo ii)
Constructor. |
Uses of Context in org.basex.server |
---|
Fields in org.basex.server declared as Context | |
---|---|
protected Context |
LocalSession.ctx
Database context. |
Methods in org.basex.server that return Context | |
---|---|
Context |
ClientListener.context()
Returns the context of this session. |
Constructors in org.basex.server with parameters of type Context | |
---|---|
ClientListener(java.net.Socket s,
Context c,
BaseXServer srv)
Constructor. |
|
ClientSession(Context context,
java.lang.String user,
java.lang.String pass)
Constructor, specifying login data. |
|
ClientSession(Context context,
java.lang.String user,
java.lang.String pass,
java.io.OutputStream output)
Constructor, specifying login data and an output stream. |
|
LocalQuery(java.lang.String q,
Context ctx,
java.io.OutputStream o)
Constructor. |
|
LocalSession(Context context)
Default constructor. |
|
LocalSession(Context context,
java.io.OutputStream output)
Constructor, specifying an output stream. |
|
LocalSession(Context context,
java.lang.String user,
java.lang.String pass)
Constructor, specifying login data. |
|
LocalSession(Context context,
java.lang.String user,
java.lang.String pass,
java.io.OutputStream output)
Constructor, specifying login data and an output stream. |
|
Log(Context ctx)
Constructor. |
Uses of Context in org.basex.util |
---|
Methods in org.basex.util with parameters of type Context | |
---|---|
protected void |
InputParser.file(IO f,
Context c)
Sets a file reference. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |