30 zorba::XQuery_t theQuery;
35 XQuery(
const XQuery& aXQuery) : theQuery(aXQuery.theQuery), closed(aXQuery.closed) {}
36 XQuery(zorba::XQuery_t aQuery) : theQuery(aQuery), closed(false) {}
70 void compile (
const std::string &aQuery);
89 void executeSAX(SAX2ContentHandlerProxy* contentHandlerProxy);
StaticContext getStaticContext()
Get the static context of this query.
std::string printPlanAsDOT()
Print the execution plan of this query to a given string.
std::string execute()
Execute the query.
Using the StaticCollectionManager one can retrieve information about statically declared collections ...
This class is the representation of an XQuery in the Zorba engine.
Instances of the class StaticContext contain the information that is available at the time the query ...
void destroy()
/brief deletes this object from memory
StaticCollectionManager getStaticCollectionManager()
Returns a CollectionManager responsible for all collections which are statically declared in the stat...
XQuery(const XQuery &aXQuery)
DynamicContext getDynamicContext()
Get the dynamic context of this query.
void compile(const std::string &aQuery)
Compile a query given as a String.
XQuery(zorba::XQuery_t aQuery)
Interface for an Iterator over an instance of the XML Data Model (i.e., a sequence of items)...
Instances of the class DynamicContext contain the information that is available at the time the query...
Iterator iterator()
Get an iterator for the result of the query.
This class defines a set of values used to define the way a serialization can be made over Items or C...
void getExternalVariables(Iterator &vars) const
Returns the QName of all external variables.
std::string printPlanAsXML()
Print the execution plan of this query to a given string.