XmlIndexSpecification::replaceDefaultIndex API Ref

#include <DbXml.hpp>

void XmlIndexSpecification::replaceDefaultIndex(const std::string &index)

void XmlIndexSpecification::replaceDefaultIndex(Type type, XmlValue::Type syntax)


Description: XmlIndexSpecification::replaceDefaultIndex

Replaces the default indexing strategy for the container. The default index specification is used for all nodes in a document. You can add additional indices for specific document nodes using XmlIndexSpecification::addIndex.


Description: void XmlIndexSpecification::replaceDefaultIndex(const std::string &index)

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

Parameters
index

Errors

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


UNKNOWN_INDEX

Description: void XmlIndexSpecification::replaceDefaultIndex(Type type, XmlValue::Type syntax)

Identifies an indexing strategies to set for the default index.

Parameters
type syntax

Errors

The XmlIndexSpecification::replaceDefaultIndex 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.