|
|||||||||
| 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 hierarchic parsers (XPath, XQuery, etc..) can be implemented on top of this class.
| Field Summary | |
|---|---|
byte[] |
query
Initial node set. |
| Constructor Summary | |
|---|---|
QueryProcessor(java.lang.String q)
Default Constructor. |
|
| Method Summary | |
|---|---|
QueryContext |
compile(Nodes nodes)
Parses the specified query and writes the result to the specified output stream. |
java.lang.String |
det()
Returns detailed information on this progress. |
java.lang.String |
getInfo()
Returns query background information. |
java.lang.String |
head()
Returns short information on this process. |
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. |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public byte[] query
| Constructor Detail |
|---|
public QueryProcessor(java.lang.String q)
q - query| Method Detail |
|---|
public final QueryContext compile(Nodes nodes)
throws QueryException
nodes - node context
QueryException - query exceptionpublic final java.lang.String det()
Progress
public final java.lang.String getInfo()
public final java.lang.String head()
Progress
public final double prog()
Progress
public final Result query(Nodes n)
throws QueryException
n - node context
QueryException - query exception
public final Nodes queryNodes(Nodes nodes)
throws QueryException
nodes - node context
QueryException - query exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||