Uses of Class
org.basex.core.Context
Packages that use Context
Package
Description
Client sessions.
Database core classes.
Database commands.
Database structures.
GUI Package.
Project specific GUI components.
XQuery implementation.
XQuery Full Text expressions.
Unit Functions.
XQuery utility classes.
Server implementation.
-
Uses of Context in org.basex
-
Uses of Context in org.basex.api.client
Methods in org.basex.api.client that return ContextModifier and TypeMethodDescriptionLocalSession.context()Returns the associated database context.Constructors in org.basex.api.client with parameters of type ContextModifierConstructorDescriptionClientSession(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. -
Uses of Context in org.basex.core
Fields in org.basex.core declared as ContextModifier and TypeFieldDescriptionCLI.contextDatabase context.protected ContextCommand.contextDatabase context.protected static ContextSandbox.contextDatabase context.Methods in org.basex.core with parameters of type ContextModifier and TypeMethodDescriptionprotected static booleanCloses the specified database if it is currently opened and only pinned once.final StringExecutes the command and returns the result as string.final voidCommand.execute(Context ctx, OutputStream os) Executes the command and prints the result to the specified output stream.final voidCommand.init(Context ctx, OutputStream os) Initializes the command execution.booleanCloses an open data reference and returnstrueif this command will change thedata()reference.final booleanRuns the command without permission, data and concurrency checks.final booleanCommand.run(Context ctx, OutputStream os) Runs the command without permission, data and concurrency checks.booleanChecks if the command has updated any data.booleanChecks if the command performs updates/write operations.Constructors in org.basex.core with parameters of type ContextModifierConstructorDescriptionprotectedConstructor, assigning the specified context.Constructor, called by clients, and adopting the variables of the specified context.Context(Context ctx, ClientInfo client) Constructor, called by clients, and adopting the variables of the main context. -
Uses of Context in org.basex.core.cmd
Methods in org.basex.core.cmd with parameters of type ContextModifier and TypeMethodDescriptionstatic booleanCloses a currently opened database.static voidCloses the specified database.static DataCreateDB.create(String name, Parser parser, Context ctx, MainOptions options) Returns a database instance from the specified parser.static DataCreateDB.create(String name, Parser parser, Context ctx, MainOptions options, boolean mem) Creates a new database instance, using the specified parser.static StringCreates an XQuery representation for the specified query.static ObjectReturns the value of the specified option.static TokenListReturns all registered ids.static StringCreates a database information string.protected booleanInitializes the specified input.booleanbooleanbooleanbooleanfinal booleanbooleanbooleanbooleanstatic DataOpen.open(String name, Context context, MainOptions options) Opens the specified database.static voidOptimizeAll.optimizeAll(Data data, Context context, MainOptions options, OptimizeAll cmd) Optimizes all data structures and closes the database.final StringAQuery.parameters(Context ctx) Returns the serialization parameters.static booleanStops the specified process.final booleanbooleanfinal booleanbooleanbooleanboolean -
Uses of Context in org.basex.core.jobs
Fields in org.basex.core.jobs declared as ContextMethods in org.basex.core.jobs with parameters of type ContextModifier and TypeMethodDescriptionfinal voidRegisters the job (puts it on a queue).final voidJob.unregister(Context ctx) Unregisters the job.Constructors in org.basex.core.jobs with parameters of type ContextModifierConstructorDescriptionConstructor.QueryJob(QueryJobSpec job, Context context, InputInfo ii, Consumer<QueryJobResult> notify) Constructor. -
Uses of Context in org.basex.core.locks
Methods in org.basex.core.locks with parameters of type Context -
Uses of Context in org.basex.core.parse
Methods in org.basex.core.parse with parameters of type Context -
Uses of Context in org.basex.core.users
Methods in org.basex.core.users with parameters of type Context -
Uses of Context in org.basex.data
Methods in org.basex.data with parameters of type Context -
Uses of Context in org.basex.gui
Fields in org.basex.gui declared as ContextConstructors in org.basex.gui with parameters of type Context -
Uses of Context in org.basex.gui.layout
Constructors in org.basex.gui.layout with parameters of type ContextModifierConstructorDescriptionResourceFolder(byte[] name, byte[] path, BaseXTree tree, Context context) Constructor.ResourceLeaf(byte[] name, byte[] path, boolean raw, boolean abbr, BaseXTree tree, Context context) Constructor.ResourceRootFolder(byte[] name, byte[] path, BaseXTree tree, Context context) Constructor. -
Uses of Context in org.basex.io.random
Methods in org.basex.io.random with parameters of type Context -
Uses of Context in org.basex.query
Fields in org.basex.query declared as ContextConstructors in org.basex.query with parameters of type ContextModifierConstructorDescriptionQueryContext(Context context) Constructor.QueryProcessor(String query, String uri, Context ctx) Default constructor.QueryProcessor(String query, Context ctx) Default constructor. -
Uses of Context in org.basex.query.expr.ft
Constructors in org.basex.query.expr.ft with parameters of type Context -
Uses of Context in org.basex.query.func.unit
Methods in org.basex.query.func.unit with parameters of type Context -
Uses of Context in org.basex.query.util
Methods in org.basex.query.util with parameters of type Context -
Uses of Context in org.basex.query.util.pkg
Constructors in org.basex.query.util.pkg with parameters of type ContextModifierConstructorDescriptionModuleLoader(Context context) Constructor.RepoManager(Context context) Constructor.RepoManager(Context context, InputInfo info) Constructor. -
Uses of Context in org.basex.server
Methods in org.basex.server that return ContextMethods in org.basex.server with parameters of type ContextModifier and TypeMethodDescriptiondefault StringClientInfo.clientName(Object id, Context ctx) Returns the name of a client, taken from the specified object or from the logged in user.voidLog.write(Object type, String info, Performance perf, Context ctx) Writes an entry to the log file.voidLog.write(Log.LogType type, String info, Performance perf, String address, Context ctx) Writes an entry to the log file.voidLog.write(Log.LogType type, String info, Performance perf, Context ctx) Writes an entry to the log file.Constructors in org.basex.server with parameters of type ContextModifierConstructorDescriptionClientListener(Socket socket, Context context, BaseXServer server) Constructor.ServerQuery(String query, Context ctx) Constructor.