org.basex.core.proc
Class Find
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.Find
public final class Find
- extends Proc
Evaluates the 'find' command and processes a simplified request as XQuery.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
|
Constructor Summary |
Find(String query)
Default constructor. |
Find
public Find(String query)
- Default constructor.
- Parameters:
query - simplified query
find
public static String find(String query,
Context ctx,
boolean root)
- Creates an XQuery representation for the specified query.
- Parameters:
query - queryctx - context referenceroot - root flag
- Returns:
- query
findTable
public static String findTable(StringList filter,
TokenList cols,
BoolList elem,
byte[] tag,
boolean root,
boolean fs)
- Creates an XQuery representation for the specified table query.
- Parameters:
filter - filter termscols - filter columnselem - element flagtag - root tagroot - root flagfs - file system flag
- Returns:
- query
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