XmlIndexSpecification::replaceIndex API Ref

#include <DbXml.hpp>

void XmlIndexSpecification::replaceIndex(const std::string &uri, const std::string &name, const std::string &index)

void XmlIndexSpecification::replaceIndex(const std::string &uri, const std::string &name, Type type, XmlValue::Type syntax)


Description: XmlIndexSpecification::replaceIndex

Replaces the indexing strategies for a named document or metadata node. All existing indexing strategies for that node are deleted, and the indexing strategy identified by this method is set for the node.


Description: void XmlIndexSpecification::replaceIndex(const std::string &uri, const std::string &name, const std::string &index)

Identifies one or more indexing strategies to set for the identified node. The strategies are identified using a space-separated listing of strings.

Parameters
uri name index

Errors

The XmlIndexSpecification::replaceIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

Description: void XmlIndexSpecification::replaceIndex(const std::string &uri, const std::string &name, Type type, XmlValue::Type syntax)

Identifies a single indexing strategy to set for the identified node.

Parameters
uri name type syntax

Errors

The XmlIndexSpecification::replaceIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.