> The XQuery Processor
#include <zorba/xquery.h>
Public Types | |
| enum | opt_level_t { O0, O1 } |
| The optimization level used for optimizing the query. More... | |
Public Member Functions | |
| CompilerHints () | |
| Default constructor for CompilerHints which assigns default values to all hints. | |
Public Attributes | |
| opt_level_t | opt_level |
| The optimization level that is used. | |
An instance of this class can be passed to the compileQuery function of the Zorba class or the compile function of this class. The members of this class represent hints that are passed to the query compiler. For example, whether optimization of the query should be done (O1) or not (O0).
example_6 in file simple.cpp shows an example how CompilerHints can be used.
Definition at line 60 of file xquery.h.
| zorba::XQuery::CompilerHints::CompilerHints | ( | ) | [inline] |
Default constructor for CompilerHints which assigns default values to all hints.
Default values:
The optimization level that is used.
Definition at line 70 of file xquery.h.
Referenced by CompilerHints().