public final class Find extends AQuery
Constructor and Description |
---|
Find(String query)
Default constructor.
|
Find(String query,
boolean rt)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process.
|
static String |
find(String query,
Context ctx,
boolean root)
Creates an XQuery representation for the specified query.
|
static String |
findTable(StringList filter,
TokenList cols,
BoolList elem,
byte[] name,
boolean root)
Creates an XQuery representation for the specified table query.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
boolean |
updating(Context ctx)
Checks if the command performs updates/write operations.
|
bind, bind, build, finish, http, parameters, stoppable, updated
close, databases, error, execute, execute, finishUpdate, getOption, getOption, info, info, init, newData, run, run, setInput, setInput, startUpdate, supportsProg, toString, toString
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public Find(String query)
query
- simplified querypublic Find(String query, boolean rt)
query
- simplified queryrt
- start from root nodeprotected boolean run()
Command
public boolean updating(Context ctx)
Command
public void databases(LockResult lr)
Proc
public static String find(String query, Context ctx, boolean root)
query
- queryctx
- database contextroot
- start from root nodepublic static String findTable(StringList filter, TokenList cols, BoolList elem, byte[] name, boolean root)
filter
- filter termscols
- filter columnselem
- element flagname
- name of root elementroot
- root flagCopyright © 2005–2015 BaseX Team. All rights reserved.