XmlQueryContext::setReturnType

API Ref

#include <DbXml.hpp>

void XmlQueryContext::setReturnType(ReturnType type);

ReturnType XmlQueryContext::getReturnType();


Description: XmlQueryContext::setReturnType

The XmlQueryContext::setReturnType method allows the application to define the return type of the query result values. Not configuration at this time.

Parameters

type
The type parameter specifies which of documents or values to return, and must be set to one of the following values:
XmlQueryContext::LiveValues
A reference to the data stored in Berkeley DB XML is returned.

Description: XmlQueryContext::getReturnType

Retrieve the return type defined for this XmlQueryContext.


APIRef

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