#include <xqc.h>
Public Attributes | |
XQC_Error(* | create_context )(const XQC_Expression *expression, XQC_DynamicContext **context) |
Creates a dynamic context suitable for use in the execute() function. | |
XQC_Error(* | execute )(const XQC_Expression *expression, const XQC_DynamicContext *context, XQC_Sequence **sequence) |
Executes the query represented by the XQC_Expression object using the values in the XQC_DynamicContext if provided. | |
void *(* | get_interface )(const XQC_Expression *expression, const char *name) |
Called to retrieve an implementation specific interface. | |
void(* | free )(XQC_Expression *expression) |
Called to free the resources associated with the XQC_Expression. |
An XQC_Expression object is thread-safe and can be used by multiple threads of execution at the same time.
XQC_Expression objects are created by calling the XQC_Implementation::prepare(), XQC_Implementation::prepare_file() and XQC_Implementation::prepare_stream() functions. Once created, the user is responsible for freeing the object by calling the free() function. The XQC_Expression object should be freed before the XQC_Implementation object that created it.
|
Creates a dynamic context suitable for use in the execute() function. The user is responsible for freeing the XQC_DynamicContext object returned by calling XQC_DynamicContext::free().
|
|
Executes the query represented by the XQC_Expression object using the values in the XQC_DynamicContext if provided. An XQC_Sequence object is returned which can be used to examine the results of the query execution. The user is responsible for freeing the XQC_Sequence object returned by calling XQC_Sequence::free().
|
|
Called to free the resources associated with the XQC_Expression.
|
|
Called to retrieve an implementation specific interface.
|