|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.query.QueryProcessor
public abstract class QueryProcessor
This abstract class contains various methods which allow querying in the database. A variety of hierarchical parsers (XPath, XQuery, etc..) can be implemented on top of this class.
| Field Summary | |
|---|---|
java.lang.String |
query
Initial node set. |
| Constructor Summary | |
|---|---|
QueryProcessor(java.lang.String q)
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
compile(Nodes nodes)
Compiles the query. |
java.lang.String |
det()
Returns short information on this process. |
java.lang.String |
getInfo()
Returns query background information. |
void |
parse()
Parses the specified query. |
double |
prog()
Returns progress information. |
Result |
query(Nodes n)
Parses the specified query and returns the result. |
Nodes |
queryNodes(Nodes nodes)
Parses the specified query and returns the result nodes. |
java.lang.String |
tit()
Returns short information on this process. |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, detail, progress, progress, stop, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String query
| Constructor Detail |
|---|
public QueryProcessor(java.lang.String q)
q - query| Method Detail |
|---|
public void parse()
throws QueryException
QueryException - query exception
public final void compile(Nodes nodes)
throws QueryException
nodes - node context
QueryException - query exception
public final Nodes queryNodes(Nodes nodes)
throws QueryException
nodes - node context
QueryException - query exception
public final Result query(Nodes n)
throws QueryException
n - node context
QueryException - query exceptionpublic final java.lang.String getInfo()
public final java.lang.String tit()
Progress
public final java.lang.String det()
Progress
det in class Progresspublic final double prog()
Progress
prog in class Progress
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||