XmlContainer::deleteDefaultIndex |
![]() ![]() |
#include <DbXml.hpp>void XmlContainer::deleteDefaultIndex(const std::string &index, XmlUpdateContext &context)
void XmlContainer::deleteDefaultIndex(XmlTransaction &txn, const std::string &index, XmlUpdateContext &context)
Deletes the default index for the container. This method is for convenience - see XmlIndexSpecification::deleteDefaultIndex for more information.
Parametersunique-{path type}-{node type}-{key type}-{syntax}
where:
unique indicates that the indexed value is unique in the container. If this keyword does not appear on the index string, then the indexed value is not required to be unique in the container.
{path type} is either node or edge.
{node type} is one of element, attribute, or metadata. If metadata is specified, then {path type} must be node.
{key type} is one of presence, equality, or substring.
{syntax} identifies the type of information being indexed. It must be one of the following values:
Note that if {key type} is presence, then {syntax} must be none or simply not specified.
For example, examples index strings are:
unique-node-element-presence
node-element-equality-string
edge-element-presence-none
node-element-equality-float
The XmlContainer::deleteDefaultIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.