XmlManager::createQueryContext

API Ref

#include <DbXml.hpp>

XmlQueryContext XmlManager::createQueryContext( XmlQueryContext::ReturnType rt =XmlQueryContext::LiveValues, XmlQueryContext::EvaluationType et = XmlQueryContext::Eager)


Description: XmlManager::createQueryContext

Creates a new XmlQueryContext.

Parameters

rt
Specifies whether to return live or dead values:
XmlQueryContext::LiveValues
Return references to the actual document stored in Berkeley DB XML.
XmlQueryContext::DeadValues
Return a copy of the data stored in Berkeley DB XML.
evaluationType
The evaluation type must be specified as either:
XmlQueryContext::Eager
The query is executed and its resultant values are derived and stored in-memory before query evaluation is completed.
XmlQueryContext::Lazy
The query is executed and its resultant values are calculated as you ask for them.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.