org.basex.core.proc
Class XQuery

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.Proc
          extended by org.basex.core.proc.XQuery

public final class XQuery
extends Proc

Evaluates the 'xquery' command and processes an XQuery request.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.Proc
DATAREF, flags, STANDARD
 
Constructor Summary
XQuery(String query)
          Default constructor.
 
Method Summary
 String toString()
          Returns a string representation of the process.
 boolean updating(Context ctx)
          Returns if the process performs updates.
 
Methods inherited from class org.basex.core.Proc
exec, exec, execute, execute, info, result
 
Methods inherited from class org.basex.core.Progress
abort, checkStop, det, detail, prog, progress, progress, stop, tit, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQuery

public XQuery(String query)
Default constructor.

Parameters:
query - query to process
Method Detail

updating

public boolean updating(Context ctx)
Description copied from class: Proc
Returns if the process performs updates.

Overrides:
updating in class Proc
Parameters:
ctx - context reference
Returns:
result of check

toString

public String toString()
Description copied from class: Proc
Returns a string representation of the process. In the client/server architecture, this string is sent to and reparsed by the server.

Overrides:
toString in class Proc
Returns:
string representation